Skip to content

Commit

Permalink
update: shorted code
Browse files Browse the repository at this point in the history
  • Loading branch information
AyodeAwe committed Oct 3, 2023
1 parent 84d7479 commit dc8525a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions ci/build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,10 @@ rapids-mamba-retry install "${PYTHON_CHANNEL}/linux-64/cugraph-dgl-*.tar.bz2"
export RAPIDS_VERSION_NUMBER="23.12"
export RAPIDS_DOCS_DIR="$(mktemp -d)"

untar_dest="/tmp/xml_tar"
for PROJECT in libcugraphops libwholegraph; do
rapids-logger "Download ${PROJECT} xml_tar"
dest="${untar_dest}/${PROJECT}"
mkdir -p "$dest"
aws s3 cp --only-show-errors "s3://rapidsai-docs/${PROJECT}/xml_tar/${RAPIDS_VERSION_NUMBER}/xml.tar.gz" - | tar xzf - -C "$dest"
export XML_DIR_${PROJECT^^}=$(mktemp -d)
aws s3 cp --only-show-errors "s3://rapidsai-docs/${PROJECT}/xml_tar/${RAPIDS_VERSION_NUMBER}/xml.tar.gz" - | tar xzf - -C "$XML_DIR_${PROJECT^^}"
done

rapids-logger "Build CPP docs"
Expand Down
4 changes: 2 additions & 2 deletions docs/cugraph/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def setup(app):
)

breathe_projects = {
'libcugraphops': '/tmp/xml_tar/libcugraphops',
'libwholegraph': '/tmp/xml_tar/libwholegraph'
'libcugraphops': os.environ['XML_DIR_LIBCUGRAPHOPS'],
'libwholegraph': os.environ['XML_DIR_LIBWHOLEGRAPH']
}
breathe_default_project = "libcugraph"

0 comments on commit dc8525a

Please sign in to comment.