Docs indexing workflow:
- Validate MDX frontmatter and internal slug links.
- Build
docs/data.jsonfrom MDX metadata. - Stage generated
docs/data.jsonin pre-commit.
This workflow is enforced by the pre-commit docs-build hook.
Scripts live in utils/docs/:
validate.pybuild_index.pyutils.pyhook.sh