summaryrefslogtreecommitdiffstats
path: root/docs/release/scripts/minimaws/lib/htmltmpl.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/release/scripts/minimaws/lib/htmltmpl.py')
-rw-r--r--docs/release/scripts/minimaws/lib/htmltmpl.py32
1 files changed, 28 insertions, 4 deletions
diff --git a/docs/release/scripts/minimaws/lib/htmltmpl.py b/docs/release/scripts/minimaws/lib/htmltmpl.py
index a80b4099787..62e1bbcf1ea 100644
--- a/docs/release/scripts/minimaws/lib/htmltmpl.py
+++ b/docs/release/scripts/minimaws/lib/htmltmpl.py
@@ -281,11 +281,27 @@ SOFTWARE_CLONES_ROW = string.Template(
' <td>${supported}</td>\n' \
' </tr>\n')
+SOFTWARE_NOTES_PROLOGUE = string.Template(
+ '<h2 id="heading-notes">Notes</h2>\n' \
+ '<div id="div-notes">\n')
+
+SOFTWARE_NOTES_EPILOGUE = string.Template(
+ '</div>\n' \
+ '<script>make_collapsible(document.getElementById("heading-notes"), document.getElementById("div-notes"))();</script>\n\n')
+
+SOFTWARE_PARTS_PROLOGUE = string.Template(
+ '<h2 id="heading-parts">Parts</h2>\n' \
+ '<div id="div-parts">\n\n')
+
+SOFTWARE_PARTS_EPILOGUE = string.Template(
+ '</div>\n' \
+ '<script>make_collapsible(document.getElementById("heading-parts"), document.getElementById("div-parts"));</script>\n\n')
+
SOFTWARE_PART_PROLOGUE = string.Template(
- '<h3>${heading}</h3>\n' \
- '<table class="sysinfo">\n' \
- ' <tr><th>Short name:</th><td>${shortname}</td></tr>\n' \
- ' <tr><th>Interface:</th><td>${interface}</td></tr>\n')
+ ' <h3>${heading}</h3>\n' \
+ ' <table class="sysinfo">\n' \
+ ' <tr><th>Short name:</th><td>${shortname}</td></tr>\n' \
+ ' <tr><th>Interface:</th><td>${interface}</td></tr>\n')
SOFTWARELIST_PROLOGUE = string.Template(
@@ -328,6 +344,14 @@ SOFTWARELIST_PROLOGUE = string.Template(
' </tr>\n' \
'</table>\n')
+SOFTWARELIST_NOTES_PROLOGUE = string.Template(
+ '<h2 id="heading-notes">Notes</h2>\n' \
+ '<div id="div-notes">\n')
+
+SOFTWARELIST_NOTES_EPILOGUE = string.Template(
+ '</div>\n' \
+ '<script>make_collapsible(document.getElementById("heading-notes"), document.getElementById("div-notes"))();</script>\n\n')
+
SOFTWARELIST_MACHINE_TABLE_HEADER = string.Template(
'<h2 id="heading-machines">Machines</h2>\n' \
'<table id="tbl-machines">\n' \