## Context Validation scripts from `restructuring-attempt-1` need to be restored and updated for the current structure. ## Scripts to restore - `scripts/validate-frontmatter.mjs` — checks all pages have required frontmatter fields - `scripts/validate-no-dfx.sh` — ensures no `dfx` references in docs - `scripts/validate-no-mdx.sh` — ensures `.mdx` is only used where tabs/interactive components exist ## Steps 1. Check out `restructuring-attempt-1` to review the original scripts 2. Adapt for current directory layout (`docs/` not `src/content/docs/`) 3. Update frontmatter schema check to match current schema (title + description required) 4. Add to `package.json` as `npm run validate` 5. Wire into CI (see #115)
Context
Validation scripts from
restructuring-attempt-1need to be restored and updated for the current structure.Scripts to restore
scripts/validate-frontmatter.mjs— checks all pages have required frontmatter fieldsscripts/validate-no-dfx.sh— ensures nodfxreferences in docsscripts/validate-no-mdx.sh— ensures.mdxis only used where tabs/interactive components existSteps
restructuring-attempt-1to review the original scriptsdocs/notsrc/content/docs/)package.jsonasnpm run validate