On this page
Quality Gate
Validation
Metrics
Scoring
Verification
Quality Gate
A documentation build should explain why it is ready to publish.
Validation
MoonDocKit reports empty sites, missing titles, empty sources, invalid routes, and duplicate output paths with structured diagnostic codes.
Metrics
The site report measures page count, headings, code blocks, word count, estimated reading time, output kinds, and generated byte size.
Scoring
evaluate_quality combines validation, content, output shape, and readability into named checks with messages and a score. The public example currently scores 100.
Verification
The repository runs default and JavaScript target checks, 50 blackbox tests, ten compiled CLI integration scenarios, API artifact assertions, and the one-shot verification script.