forked from MapComplete/MapComplete
Add documentation on themes, move some themes around
This commit is contained in:
parent
614987dba7
commit
8cb02da127
88 changed files with 2973 additions and 244 deletions
|
@ -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",
|
||||
])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue