From 2e35f300d0263ff22694ea21e512be75d0a7262c Mon Sep 17 00:00:00 2001 From: David Tuite Date: Tue, 15 Sep 2020 10:56:42 +0100 Subject: [PATCH] Mark docs template description as required In my testing, attempts to create a docs site with no description would fail with the error: ``` Unable to create file 'component-info.yaml' Error message: 'collections.OrderedDict object' has no attribute 'description' ``` Better to mark it required than let the user hit the error. --- .../sample-templates/docs-template/template.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/scaffolder-backend/sample-templates/docs-template/template.yaml b/plugins/scaffolder-backend/sample-templates/docs-template/template.yaml index b4bd45d163..31b57135ad 100644 --- a/plugins/scaffolder-backend/sample-templates/docs-template/template.yaml +++ b/plugins/scaffolder-backend/sample-templates/docs-template/template.yaml @@ -17,6 +17,7 @@ spec: schema: required: - component_id + - description properties: component_id: title: Name