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