Viewing Docs Locally¶
Quick commands¶
From repo root:
uv sync --no-default-groups --extra docs
./scripts/docs_build.sh
./scripts/docs_serve.sh
Local URL: - http://127.0.0.1:8000
One-shot sync + serve¶
./scripts/docs_sync_and_serve.sh
RTD preview for PRs¶
- Open your PR in GitHub.
- Open the Read the Docs build linked to that PR.
- Verify nav, notebooks, API pages, and redirects.
Notes¶
examples/notebooks are the source of truth for the notebook gallery.docs-mkdocs/tutorials/notebooks/examples/is generated at docs build time by./scripts/sync_docs_notebooks.shand is not intended to be edited by hand../scripts/docs_build.shand./scripts/docs_serve.shsync curated notebooks automatically before invoking MkDocs.- To add notebook docs, update
docs-mkdocs/tutorials/notebooks.manifest. The sync step will copy the listed notebooks into the generated docs tree. - MkDocs source-of-truth content lives in
docs-mkdocs/.