API
Build validation
Validation runs in CI/CD to protect doc quality.
Checklist
- Broken links (internal routes and anchors)
- Duplicate titles
- Orphan pages
- Invalid frontmatter fields
- Empty directories
CI integration
Run validate:docs before the build. Any error blocks the build.
Strict rule
Any duplicate route will fail the build.