diff --git a/docs/README.md b/docs/README.md index bed5fe8fbe..e1c4c7072f 100644 --- a/docs/README.md +++ b/docs/README.md @@ -32,8 +32,12 @@ better yet, a pull request. - [API](features/software-catalog/api.md) - Software creation templates - [Overview](features/software-templates/index.md) - - [Configure templates](features/software-templates/configure-templates.md) - [Adding templates](features/software-templates/adding-templates.md) + - Extending the Scaffolder: + - [Overview](features/software-templates/extending/index.md) + - [Create your own Templater](features/software-templates/extending/create-your-own-templater.md) + - [Create your own Publisher](features/software-templates/extending/create-your-own-publisher.md) + - [Create your own Preparer](features/software-templates/extending/create-your-own-preparer.md) - Docs-like-code - [Overview](features/techdocs/README.md) - [Getting Started](features/techdocs/getting-started.md) diff --git a/docs/features/software-catalog/descriptor-format.md b/docs/features/software-catalog/descriptor-format.md index 926cfe5b9c..68cee2352c 100644 --- a/docs/features/software-catalog/descriptor-format.md +++ b/docs/features/software-catalog/descriptor-format.md @@ -312,7 +312,7 @@ Apart from being a string, the software catalog leaves the format of this field open to implementers to choose. Most commonly, it is set to the ID or email of a group of people in an organizational structure. -## +## Kind: Template Describes the following entity kind: diff --git a/docs/features/software-templates/extending/create-your-own-templater.md b/docs/features/software-templates/extending/create-your-own-templater.md index fd3b7d395f..947190c5e5 100644 --- a/docs/features/software-templates/extending/create-your-own-templater.md +++ b/docs/features/software-templates/extending/create-your-own-templater.md @@ -43,7 +43,7 @@ As you can see in the above code a `TemplaterBuilder` is created and the default This `TemplaterKey` is used to select the correct templater from the `spec.templater` in the -[Template Entity](../software-catalog/descriptor-format.md#kind-template). +[Template Entity](../../software-catalog/descriptor-format.md#kind-template). If you wish to add a new templater you'll need to register it with the `TemplaterBuilder`. @@ -73,9 +73,9 @@ follows: - `directory`- the skeleton directory returned from the `Preparer`, more info at [Create your own preparer](./create-your-own-preparer.md). - `values` - a json object which will resemble the `spec.schema` from the - [Template Entity](../software-catalog/descriptor-format.md#kind-template) + [Template Entity](../../software-catalog/descriptor-format.md#kind-template) which is defined here under spec.schema`. More info can be found here - [Register your own template](./register-your-own-template.md#adding-form-values-in-the-scaffolder-wizard) + [Register your own template](../adding-templates.md#adding-form-values-in-the-scaffolder-wizard) - `logStream` - a stream that you can write to for displaying in the frontend. - `dockerClient` - a [dockerode](https://github.com/apocas/dockerode) client to be able to run docker containers. diff --git a/docs/features/software-templates/index.md b/docs/features/software-templates/index.md index 04ae53accb..c7358518cd 100644 --- a/docs/features/software-templates/index.md +++ b/docs/features/software-templates/index.md @@ -29,7 +29,7 @@ are required for backstage usage. The owner, which is a `user` in the backstage system, and the `storePath` which right now must be a Github Organisation and a non-existing github repository name in the format `organistaion/reponame`. -![Enter backstage vars](./assets/template-picked-1.png) +![Enter backstage vars](./assets/template-picked-2.png) ### Run! diff --git a/mkdocs.yml b/mkdocs.yml index d5e89a0412..0c8879c96b 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -30,7 +30,6 @@ nav: - API: 'features/software-catalog/api.md' - Software creation templates: - Overview: 'features/software-templates/index.md' - - Configure templates: 'features/software-templates/configure-templates.md' - Adding templates: 'features/software-templates/adding-templates.md' - Extending the Scaffolder: - Overview: 'features/software-templates/extending/index.md'