Documentation Validation
Thermocline docs include automated truth checks against the sibling thermocline repository.
Run
npm run validate:truth
If Thermocline runtime source is not in the default sibling path, set:
THERMOCLINE_REPO_ROOT=/path/to/thermocline npm run validate:truth
What It Validates
docs/reference/compatibility.mdbody exactly matches sourcethermocline/docs/COMPATIBILITY.md.docs/reference/supported-operations.mdincludes every command in gatewaylist_commands_catalog().docs/plugins/ml-engine.mdincludes all storage-engine ML stages and canonical model types.- Every sidebar doc ID in
sidebars.tsresolves to an existing page. - Code path references in docs resolve to real files in the runtime or website repo.
- Workstation-specific absolute paths (for example
/path/to/...) are rejected. - Every environment variable in
docs/reference/configuration-ref.mdexists in compose/config-parsing source. - Every docs page (except
docs/reference/compatibility.md, which is exact-synced) includes source-of-truth references. - Every
make <target>command shown in docs resolves to an actual target inMakefile.
Validator Location
scripts/validate_docs_truth.py
Recommended Gate
npm run validate:truth
npm run build