Summary
Implement an automated API documentation pipeline that generates and publishes API reference documentation from the Python (Qumat, QDP) and Rust (qdp-core) codebases, integrated into the project's Docusaurus website and CI.
Current state:
- QuMat API is maintained by hand and can drift from code.
- QDP API has a placeholder "TODO: Add API reference documentation for QDP".
- Rust (qdp-core) has extensive doc comments but no published rustdoc in the website.
Goals:
- Generate API reference from source for Python (Qumat).
- Integrate generated docs into the existing Docusaurus site.
- Automate the pipeline in CI so doc builds run on changes.
- Define conventions (docstrings, public API) for future contributors.
Deliverables:
- Python API doc pipeline for qumat and QDP.
- QuMat API reference either generated or explicitly linked.
- Rust (qdp-core) rustdoc built and linked from the website.
- CI job(s) that build Python API docs and rustdoc and fail on errors.
- Short contribution guide on docstring style and how to update API docs.
Summary
Implement an automated API documentation pipeline that generates and publishes API reference documentation from the Python (Qumat, QDP) and Rust (qdp-core) codebases, integrated into the project's Docusaurus website and CI.
Current state:
Goals:
Deliverables: