From 766af666575b5db6f265e1fbf6466ccfd46eae30 Mon Sep 17 00:00:00 2001 From: Benjamin Zaitlen Date: Mon, 27 Mar 2023 13:15:41 -0400 Subject: [PATCH] add sphinx building and s3 uploading for dask-cudf docs (#12982) follow up PR for https://github.com/rapidsai/cudf/pull/12725 Authors: - Benjamin Zaitlen (https://github.com/quasiben) - AJ Schmidt (https://github.com/ajschmidt8) Approvers: - GALI PREM SAGAR (https://github.com/galipremsagar) - Sevag H (https://github.com/sevagh) URL: https://github.com/rapidsai/cudf/pull/12982 --- ci/build_docs.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ci/build_docs.sh b/ci/build_docs.sh index 6daedb59733..4955fe08982 100755 --- a/ci/build_docs.sh +++ b/ci/build_docs.sh @@ -33,16 +33,25 @@ aws s3 cp s3://rapidsai-docs/librmm/${VERSION_NUMBER}/html/rmm.tag . || echo "Fa doxygen Doxyfile popd -rapids-logger "Build Sphinx docs" +rapids-logger "Build cuDF Sphinx docs" pushd docs/cudf sphinx-build -b dirhtml source _html sphinx-build -b text source _text popd +rapids-logger "Build dask-cuDF Sphinx docs" +pushd docs/dask_cudf +sphinx-build -b dirhtml source _html +sphinx-build -b text source _text +popd + + if [[ ${RAPIDS_BUILD_TYPE} == "branch" ]]; then rapids-logger "Upload Docs to S3" aws s3 sync --no-progress --delete cpp/doxygen/html "s3://rapidsai-docs/libcudf/${VERSION_NUMBER}/html" aws s3 sync --no-progress --delete docs/cudf/_html "s3://rapidsai-docs/cudf/${VERSION_NUMBER}/html" aws s3 sync --no-progress --delete docs/cudf/_text "s3://rapidsai-docs/cudf/${VERSION_NUMBER}/txt" + aws s3 sync --no-progress --delete docs/dask_cudf/_html "s3://rapidsai-docs/dask-cudf/${VERSION_NUMBER}/html" + aws s3 sync --no-progress --delete docs/dask_cudf/_text "s3://rapidsai-docs/dask-cudf/${VERSION_NUMBER}/txt" fi