From ceff746690571092169729d62a3225b9a1a69f8d Mon Sep 17 00:00:00 2001
From: Laurent Pinchart
Date: Wed, 17 Mar 2021 20:39:14 +0200
Subject: scripts: Extend support for formatting comments
Now that comments can span multiple lines, add support for nested lists.
The yaml syntax is
comments:
- The BSP commit bundles 5 different changes:
- Disable SN65DSI86 GPIOs
- Disable scrambling (for V3U Falcon)
- Hot plug detectiong polling
- EDID retrieval
- 4k support for Display Port v1.2
which gets translated to
The YAML schema is relaxed accordingly to support sequences of anything
in comments.
Note the need for ':' at the end of the first line in the list. Without
that, the full comment will be treated as a single block of text by the
yaml parser, and the HTML generation script will render it as a single
paragraph without line breaks. This could be addressed, but if we keep
going further in that during, maybe a full markdown parser and generator
should be integrated instead.
Signed-off-by: Laurent Pinchart
Acked-by: Wolfram Sang
---
projects/project.schema.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'projects')
diff --git a/projects/project.schema.yaml b/projects/project.schema.yaml
index c9e096c..7b1f23a 100644
--- a/projects/project.schema.yaml
+++ b/projects/project.schema.yaml
@@ -103,4 +103,4 @@ mapping:
comments:
sequence:
- - type: str
+ - type: any
--
cgit v1.2.3