From 35e73aab14c865d33c7671431a6f755199951acb Mon Sep 17 00:00:00 2001 From: Oliver Sand Date: Wed, 26 May 2021 14:10:23 +0200 Subject: [PATCH 1/2] Fix wrong yaml indention in docs Signed-off-by: Oliver Sand --- docs/features/software-templates/writing-templates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/features/software-templates/writing-templates.md b/docs/features/software-templates/writing-templates.md index 4f9323c6e9..086fb8124f 100644 --- a/docs/features/software-templates/writing-templates.md +++ b/docs/features/software-templates/writing-templates.md @@ -222,7 +222,7 @@ You can see it in the above full example which is a separate step and it looks a little like this: ```yaml - - title: Choose a location + - title: Choose a location required: - repoUrl properties: From b517c7f9b785bf65ca28dd0120601dac18736b58 Mon Sep 17 00:00:00 2001 From: Oliver Sand Date: Wed, 26 May 2021 14:17:27 +0200 Subject: [PATCH 2/2] Remove indention Signed-off-by: Oliver Sand --- .../software-templates/writing-templates.md | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/features/software-templates/writing-templates.md b/docs/features/software-templates/writing-templates.md index 086fb8124f..f58db3ae91 100644 --- a/docs/features/software-templates/writing-templates.md +++ b/docs/features/software-templates/writing-templates.md @@ -222,17 +222,17 @@ You can see it in the above full example which is a separate step and it looks a little like this: ```yaml - - title: Choose a location - required: - - repoUrl - properties: - repoUrl: - title: Repository Location - type: string - ui:field: RepoUrlPicker - ui:options: - allowedHosts: - - github.com +- title: Choose a location + required: + - repoUrl + properties: + repoUrl: + title: Repository Location + type: string + ui:field: RepoUrlPicker + ui:options: + allowedHosts: + - github.com ``` The `allowedHosts` part should be set to where you wish to enable this template