summaryrefslogtreecommitdiff
path: root/scripts/html_task.py
AgeCommit message (Collapse)Author
2022-07-12scripts: Don't use cache on HTML FrameKuninori Morimoto
Web browser will use cached page if it is using Frame (Menu, Summary, etc), but it is not good for PeriJect user. To avoid the cache patch, this patch try to 1) remove frame html every make, 2) add "?xxx" after file name to make web browser think it's a different file. It works well on Chrome, but not sure on other browser. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2021-03-21scripts: Extend support for formatting commentsLaurent Pinchart
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 <ul> <li> <p>The BSP commit bundles 5 different changes</p> <p> <ul> <li> <p>Disable SN65DSI86 GPIOs</p> </li> <li> <p>Disable scrambling (for V3U Falcon)</p> </li> <li> <p>Hot plug detectiong polling</p> </li> <li> <p>EDID retrieval</p> </li> <li> <p>4k support for Display Port v1.2</p> </li> </ul> </p> </li> </ul> 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 <laurent.pinchart@ideasonboard.com> Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
2021-03-17scripts: Support multi-paragraph comments in HTML output for tasksLaurent Pinchart
When a comment contains multiple paragraphs, delimited by two or more consecutive newline characters, render them in <p> elements. This increases readability of the output. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Tested-by: Jacopo Mondi <jacopo@jmondi.org>
2021-02-09scripts: add html_task.pyKuninori Morimoto
Because current PeriJect is using scripts/myhtml.py to creating all HTML files, all files will be re-created if myhtml.py itself was updated. It is very verbose. This patch separates "task" from it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>