All prerequisite for building docs are in the cugraph development conda environment. See build instructions on how to create the development conda environment
In order to build the docs, we need the conda dev environment from cugraph and we need to build cugraph from source.
-
Create a conda env and build cugraph from source. The dependencies to build rapids from source are installed in that conda environment, and then rapids is built and installed into the same environment.
-
Once cugraph is built from source, navigate to
../docs/cugraph/
. If you have your documentation written and want to turn it into HTML, run makefile:
# most be in the /docs/cugraph directory
make html
This should run Sphinx in your shell, and outputs to build/html/index.html
First navigate to /build/html/
folder, and then run the following command:
python -m http.server
Then, navigate a web browser to the IP address or hostname of the host machine at port 8000:
https://<host IP-Address>:8000
Now you can check if your docs edits formatted correctly, and read well.