Docs Skill (AGILAB)
Use this skill when editing docs/source or any docs build tooling.
Source Of Truth
- •
docs/htmlis generated: do not hand-edit it. - •Edit
docs/source/*and regenerate.
Public Docs Constraint
- •Public documentation must not mention non-public apps/repositories.
- •Keep examples generic and refer to “external apps repository” rather than naming private app modules.
Build / Validate
- •Local Sphinx build (repo root):
- •
uv --preview-features extra-build-dependencies run python -m sphinx -b html docs/source docs/html
- •
Consistency Checklist
- •Use consistent naming: “Pages”, “Page bundles”, “Apps-pages” (avoid near-duplicate headings).
- •Keep diagrams (SVG) aligned with wording; remove stale labels when sections are removed.
- •Ensure math renders via Sphinx math extension; keep equations in
.. math::blocks when needed.