Docs Verde Style
Goal
Keep documentation in a Verde-like navigation model:
- •User Guide -> API object docs
- •API object docs ->
[source]->_modules/... - •Source pages ->
[docs]back to API object docs
Rules
- •Python code belongs to
API Reference, notArtefatos. - •
Artefatosis reserved for non-Python files (Bash/TXT/TEX/CSV/etc). - •In narrative pages (
visao_geral,guia/*), object mentions must link to internal docs pages. - •When needed, source links should point to
/_modules/...pages on GitHub Pages, never as file downloads. - •Keep ordering consistent with project convention:
- •Trilha 1 = Legado
- •Trilha 2 = Refatoracao
Workflow
- •Inspect links in
docs/sphinx/source/visao_geral.rstanddocs/sphinx/source/guia/*.rst. - •Ensure Python scripts/functions referenced there have API pages in
docs/sphinx/source/api/. - •Ensure
_modulespages are generated for referenced Python objects (via autodoc/autosummary + viewcode). - •Move any Python entry mistakenly listed in
docs/sphinx/source/artefatos/index.rstback to API references. - •Run Sphinx build and verify navigation end-to-end.
Validation checklist
- •
User Guidelinks resolve to API pages. - •API pages show object signatures and
[source]links. - •Source links land on
_modulespages. - •No Python script appears in
Artefatostoctree. - •Build succeeds with no broken references.