File tree Expand file tree Collapse file tree 9 files changed +15
-7
lines changed
packages/create-app/templates/default-app
scaffolder-backend/sample-templates
create-react-app/skeleton
react-ssr-template/skeleton
springboot-grpc-template/skeleton
techdocs-backend/examples/documented-component Expand file tree Collapse file tree 9 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ metadata:
15
15
url : https://discord.com/invite/EBHEGzX
16
16
annotations :
17
17
github.com/project-slug : backstage/backstage
18
- backstage.io/techdocs-ref : url:https://github.com/backstage/backstage
18
+ backstage.io/techdocs-ref : dir:.
19
19
lighthouse.com/website-url : https://backstage.io
20
20
spec :
21
21
type : library
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ metadata:
6
6
# Example for optional annotations
7
7
# annotations:
8
8
# github.com/project-slug: backstage/backstage
9
- # backstage.io/techdocs-ref: url:https://github.com/backstage/backstage
9
+ # backstage.io/techdocs-ref: dir:.
10
10
spec:
11
11
type: website
12
12
owner: john@example.com
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ metadata:
5
5
description : {{cookiecutter.description | jsonify}}
6
6
annotations :
7
7
github.com/project-slug : {{cookiecutter.destination.owner + "/" + cookiecutter.destination.repo}}
8
- backstage.io/techdocs-ref : url:{{"https://" + cookiecutter.destination.host + "/" + cookiecutter.destination.owner + "/" + cookiecutter.destination.repo}}
8
+ backstage.io/techdocs-ref : dir:.
9
9
spec :
10
10
type : website
11
11
lifecycle : experimental
Original file line number Diff line number Diff line change
1
+ site_name : {{cookiecutter.component_id | jsonify}}
2
+ site_description : {{cookiecutter.description | jsonify}}
3
+
4
+ nav :
5
+ - Introduction : index.md
6
+
7
+ plugins :
8
+ - techdocs-core
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ metadata:
5
5
description : {{cookiecutter.description | jsonify}}
6
6
annotations :
7
7
github.com/project-slug : {{cookiecutter.destination.owner + "/" + cookiecutter.destination.repo}}
8
- backstage.io/techdocs-ref : url:{{"https://" + cookiecutter.destination.host + "/" + cookiecutter.destination.owner + "/" + cookiecutter.destination.repo}}
8
+ backstage.io/techdocs-ref : dir:.
9
9
spec :
10
10
type : documentation
11
11
lifecycle : experimental
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ metadata:
5
5
description : {{cookiecutter.description | jsonify}}
6
6
annotations :
7
7
github.com/project-slug : {{cookiecutter.destination.owner + "/" + cookiecutter.destination.repo}}
8
- backstage.io/techdocs-ref : url:{{"https://" + cookiecutter.destination.host + "/" + cookiecutter.destination.owner + "/" + cookiecutter.destination.repo}}
8
+ backstage.io/techdocs-ref : dir:.
9
9
spec :
10
10
type : website
11
11
lifecycle : experimental
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ metadata:
5
5
description : {{cookiecutter.description | jsonify}}
6
6
annotations :
7
7
github.com/project-slug : {{cookiecutter.destination.owner + "/" + cookiecutter.destination.repo}}
8
- backstage.io/techdocs-ref : url:{{"https://" + cookiecutter.destination.host + "/" + cookiecutter.destination.owner + "/" + cookiecutter.destination.repo}}
8
+ backstage.io/techdocs-ref : dir:.
9
9
spec :
10
10
type : service
11
11
lifecycle : experimental
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ metadata:
4
4
name : documented-component
5
5
description : A Service with TechDocs documentation
6
6
annotations :
7
- backstage.io/techdocs-ref : ' url:https://github.com/backstage/backstage/tree/master/plugins/techdocs-backend/examples/documented-component '
7
+ backstage.io/techdocs-ref : dir:.
8
8
spec :
9
9
type : service
10
10
lifecycle : experimental
You can’t perform that action at this time.
0 commit comments