forked from MapComplete/MapComplete
Chore: housekeeping
This commit is contained in:
parent
1a3bb7bb27
commit
a70e2272f7
16 changed files with 1906 additions and 2478 deletions
|
@ -362,6 +362,7 @@ function main() {
|
|||
for (const path of allSchemas) {
|
||||
const dir = path.substring(0, path.lastIndexOf("/"))
|
||||
const name = path.substring(path.lastIndexOf("/"), path.length - "JSC.ts".length)
|
||||
console.log("Trying to read", path)
|
||||
let content = readFileSync(path, { encoding: "utf8" })
|
||||
content = content.substring("export default ".length)
|
||||
let parsed = JSON.parse(content)
|
||||
|
|
|
@ -86,7 +86,7 @@ class WikiPageGenerator {
|
|||
"! Name, link !! Genre !! Covered region !! Language !! Description !! Free materials !! Image\n" +
|
||||
"|-"
|
||||
|
||||
for (const layout of themeOverview) {
|
||||
for (const layout of themeOverview.themes) {
|
||||
if (layout.hideFromOverview) {
|
||||
continue
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue