feat(xb): unify DPL and HN backend, themes and registration reports

This commit is contained in:
hellcat committed 2026-10-31 18:58:37 +08:00
1 parent eb630d2caf
commit 1ded40226b
1082 files changed
+159466 -104

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ for (const platform of await fs.readdir(source, {withFileTypes: true})) {
registry[platform.name] = prefix + '.html'
}
}
const generated = path.join(root, 'stellar/src/generated')
const generated = path.join(root, 'theme/Stellar/source/src/generated')
await fs.mkdir(generated,{recursive:true})
await fs.writeFile(path.join(generated,'tutorials.ts'), '// Generated by scripts/tutorials/build.mjs\nexport const tutorialPages: Record<string, string> = '+JSON.stringify(registry,null,2)+'\n')
console.log(`Built ${Object.keys(registry).length} independent tutorial page(s).`)