Contributing to the documentation¶
The documentation source lives in docs/. The generated site/ directory is ignored and must not be committed.
Edit the site¶
- Edit the relevant Markdown page under
docs/. - Keep the explicit navigation in
mkdocs.ymlcomplete and ordered by task. - Use relative links between pages, such as
[API reference](api.md). - Use a fenced
```mermaidblock for a new diagram and keep labels readable. - Run the strict build from the repository root:
- Preview the rendered site and check search, navigation, light/dark mode, code blocks, and every diagram:
Open the local URL printed by MkDocs. The build must pass before a documentation change is submitted. For a focused change, update only the page that owns the information; keep the public API, provider caveats, and Mermaid examples in their existing canonical pages.