Add documentation on themes, move some themes around

This commit is contained in:
Pieter Vander Vennet 2022-11-30 21:38:50 +01:00
parent 614987dba7
commit 8cb02da127
88 changed files with 2973 additions and 244 deletions

View file

@ -129,6 +129,11 @@ AllKnownLayouts.GenOverviewsForSingleLayer((layer, element, inlineSource) => {
}
WriteFile("./Docs/Layers/" + layer.id + ".md", element, [source], { noTableOfContents: true })
})
Array.from(AllKnownLayouts.allKnownLayouts.values()).map(theme => {
const docs = AllKnownLayouts.GenerateDocumentationForTheme(theme)
WriteFile("./Docs/Themes/" + theme.id + ".md", docs, [`assets/themes/${theme.id}/${theme.id}.json`], { noTableOfContents: true })
})
WriteFile("./Docs/SpecialRenderings.md", SpecialVisualizations.HelpMessage(), [
"UI/SpecialVisualizations.ts",
])