Contributing to documentation
How to propose documentation changes and keep them consistent with the code.
What lives where
Section titled “What lives where”| Audience | Entry |
|---|---|
| All users | Documentation home, Getting started, Learning paths |
| Assistants / LLMs | Using with LLMs, MCP, repo-root AGENTS.md |
| Data / metadata | Data setup, Experiment details |
| Developers | Architecture, Developer guide, Testing |
| Auto API | generate_api_docs.py (writes advanced/api/ on each build) |
Workflow
Section titled “Workflow”- Small fixes (typos, broken links) — open a PR directly.
- New behavior — update docstrings first (generated API picks them up), then narrative Markdown if needed.
- Large restructures — discuss in an issue first if navigation changes are broad.
Reporting issues
Section titled “Reporting issues”Use GitHub Issues with label documentation when possible. Include:
- Page or file path (e.g.
docs/src/content/docs/guides/data-setup.mdx) - What you expected vs what you saw
- Environment (OS, Python version, install method)
Review checklist (for maintainers)
Section titled “Review checklist (for maintainers)”-
npm run buildsucceeds underdocs/ - New public API has docstrings (interrogate)
- Spot-check Pipeline API (generated)
- Prefer clear headings and short paragraphs.
- Use code fences with language tags for Python and shell.
- Avoid duplicating long signatures; link to Pipeline API or API & data formats instead.
