Contributing¶
Bug reports and ideas are welcome in the issue tracker.
Set up the project¶
Preview the documentation¶
Then open http://127.0.0.1:8000. The page reloads when you save a file.
How the examples are tested¶
The code in this documentation is not pasted into the pages. Each example lives
in docs_src/ as a real .py file, next to a .out file with its exact output,
and the pages include both.
tests/test_docs_src.py runs every example against the sample report and fails
if its output changes. To add an example, create both files and include them with:
Every change updates the docs¶
If a change affects users, the same commit also updates:
- the affected pages in
docs/ - Limitations, if it removes or adds one
- the Unreleased section of the Changelog
Release a new version¶
Pushing to main doesn't publish anything. Releases group several changes:
- Set the new version in
Cargo.toml. - Move the Unreleased changelog entries under the new version.
- Commit and push, then wait for CI to pass.
- Create and push the tag, for example
git tag v0.1.1 && git push origin v0.1.1.
The tag starts the workflow that publishes to PyPI.