- Install the
cuda-corepackage of the version that we need to document. - Ensure the version is included in the
nv-versions.json. - Build the docs with
./build_docs.sh. - The html artifacts should be available under both
./build/html/latestand./build/html/<version>.
Alternatively, we can build all the docs at once by running cuda_python/docs/build_all_docs.sh.
To publish the docs with the built version, it is important to note that the html files of older versions
should be kept intact, in order for the version selection (through nv-versions.json) to work.