Skip to content

Commit

Permalink
fix + some revert
Browse files Browse the repository at this point in the history
  • Loading branch information
AyodeAwe committed Dec 6, 2024
1 parent 7d480fa commit 18544cf
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions ci/build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,21 @@ for PROJECT in libcugraphops libwholegraph; do
done

rapids-logger "Build Doxygen docs"
pushd cpp
pushd cpp/doxygen
doxygen Doxyfile
export XML_DIR_LIBCUGRAPH="$(pwd)/xml"
mkdir -p "${RAPIDS_DOCS_DIR}/libcugraph/xml_tar"
tar -czf "${RAPIDS_DOCS_DIR}/libcugraph/xml_tar"/xml.tar.gz -C xml .
popd

rapids-logger "Output temp dir: ${RAPIDS_DOCS_DIR}"
rapids-logger "Build Python docs"
pushd docs/cugraph
# Ensure cugraph is importable, since sphinx does not report details about this
# type of failure well.
python -c "import cugraph; print(f'Using cugraph: {cugraph}')"
sphinx-build -b dirhtml source _html
mkdir -p "${RAPIDS_DOCS_DIR}/cugraph/html"
mv _html/* "${RAPIDS_DOCS_DIR}/cugraph/html"
popd

rapids-upload-docs

0 comments on commit 18544cf

Please sign in to comment.