Files
descrybe/apps/web/scripts/check-docs-guide.mts
T
greeneclipse 8580c996c3 Initial commit of Descrybe v2 without local scratch artifacts.
Drop one-shot tmp/axe scripts and agent i18n scratch so the Gitea tree is deployable.
2026-08-09 22:47:43 +02:00

11 lines
344 B
TypeScript

import { DOCS_GUIDE_TREE, validateDocsGuideTree } from "../src/lib/docs-guide/index.ts";
const errors = validateDocsGuideTree(DOCS_GUIDE_TREE);
if (errors.length > 0) {
console.error(errors.join("\n"));
process.exit(1);
}
console.log(
`docs-guide ok nodes=${Object.keys(DOCS_GUIDE_TREE.nodes).length} version=${DOCS_GUIDE_TREE.version}`
);