You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary
- Problem: issue #88 asks for the C++ API surface to be available on
Read the Docs, but the docs currently only expose narrative guides.
- Scope: add a Doxygen+Breathe docs pipeline for curated `envpool/core`
headers, wire the new page into the existing Sphinx/RTD nav, and bump
the package version for a docs-only patch release.
- Outcome: RTD builds a browsable C++ API reference page alongside the
existing `new_env` guide, without changing runtime behavior.
This diff adds a generated C++ API reference to RTD and keeps the
release semantics at a patch bump because the change is
documentation-only.
## Technical Details
- Approach: generate Doxygen XML during the Sphinx build, point Breathe
at that XML, and render a curated set of core classes/types instead of
dumping the entire header tree.
- Code pointers:
- `docs/conf.py`: configures the Doxygen XML generation hook and Breathe
project mapping.
- `docs/content/cpp_interface.rst`: defines the new curated C++ API
reference page.
- `.readthedocs.yaml`: installs `doxygen` in RTD so the docs build is
self-contained.
- `envpool/__init__.py`: bumps the package version to `0.9.1` for this
docs-only release.
- Notes: the docs link back into `content/new_env.rst`, and the version
bump is intentionally `patch` because there is no API or behavior
change.
## Test Plan
### Automated
- `python3 -m compileall docs/conf.py`: passed locally.
- `brix ssh dev -C -- 'bash /tmp/envpool_issue88_devbox.sh'`: passed on
`dev`; installs docs deps, runs `make -C docs html`, and verifies
`docs/_build/html/content/cpp_interface.html` contains the generated C++
API page.
### Suggested Manual
- `make -C docs html`: verify the new `C++ API Reference` page appears
in the Content nav.
- Open `docs/_build/html/content/cpp_interface.html`: spot-check key
entries like `AsyncEnvPool`, `EnvSpec`, and `PyEnvPool`.
Closes#88.
0 commit comments