feat(techdocs) allow referencing other entities for techdocs

Signed-off-by: jrwpatterson <jrwpatterson@gmail.com>
This commit is contained in:
jrwpatterson
2023-08-09 08:04:19 +10:00
parent 402dd40b2a
commit b88968fada
4 changed files with 105 additions and 46 deletions
@@ -100,6 +100,21 @@ alongside the entity's source code, the value of this annotation can point to an
absolute URL, matching the location reference string format outlined above, for
example: `url:https://github.com/backstage/backstage/tree/master`
### backstage.io/techdocs-ref
```yaml
# Example:
metadata:
annotations:
backstage.io/techdocs-external-ref: component:default/example
```
The value of this annotation informs of an external entity that owns the TechDocs.
This allows you to reference TechDocs from a single source without either duplicating
the TechDocs in the TechDocs page or needing multiple builds of the same docs.
This is for situations where you have complex systems where they share a single repo, and likely a single TechDoc location.
### backstage.io/view-url, backstage.io/edit-url
```yaml