Chore: housekeeping

This commit is contained in:
Pieter Vander Vennet 2024-10-01 16:47:12 +02:00
parent 1a3bb7bb27
commit a70e2272f7
16 changed files with 1906 additions and 2478 deletions

View file

@ -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)

View file

@ -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
}