getLocationForEntity()
Home > @backstage/plugin-techdocs-node
> getLocationForEntity
Returns an entity reference based on the TechDocs annotation type
Signature:
getLocationForEntity: (entity: Entity, scmIntegration: ScmIntegrationRegistry) => ParsedLocationAnnotation
Parameters
Parameter |
Type |
Description |
---|---|---|
entity |
A TechDocs instance | |
scmIntegration |
An implementation for SCM integration API |