Use Pixi from the repository root (recommended):
- Install one environment (first time only):
pixi install -e test-cu13(ortest-cu12). - Ensure the version is included in
docs/nv-versions.json(anddocs/versions.jsonif needed). - Build the docs with
pixi run -e test-cu13 build-docs. - The HTML artifacts will be under both
docs/build/html/latestanddocs/build/html/<version>.
Build only the latest version with:
pixi run -e test-cu13 build-docs latest-onlyIf you are already in a prepared shell environment, you can still run ./build_docs.sh
(or ./build_docs.sh latest-only) from docs/.
To publish docs, keep older docs/build/html/<version> directories intact for the version switcher.