From b026b6062ca440b86ed2eb91c1b7faa30f99ac11 Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Thu, 6 Jun 2024 08:29:22 -0700 Subject: [PATCH] Revert "Revert "Fix docs for IO readers and strings_convert" (#15872)" This reverts commit 2b031e06a7fe18eec462db445eea1c596b93a9f1. --- ci/build_docs.sh | 16 ++++++++++------ .../source/libcudf_docs/api_docs/io_readers.rst | 2 +- .../libcudf_docs/api_docs/strings_convert.rst | 2 +- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/ci/build_docs.sh b/ci/build_docs.sh index db306046667..668d52e530b 100755 --- a/ci/build_docs.sh +++ b/ci/build_docs.sh @@ -46,9 +46,11 @@ pushd docs/cudf make dirhtml mkdir -p "${RAPIDS_DOCS_DIR}/cudf/html" mv build/dirhtml/* "${RAPIDS_DOCS_DIR}/cudf/html" -make text -mkdir -p "${RAPIDS_DOCS_DIR}/cudf/txt" -mv build/text/* "${RAPIDS_DOCS_DIR}/cudf/txt" +if [[ "${RAPIDS_BUILD_TYPE}" != "pull-request" ]]; then + make text + mkdir -p "${RAPIDS_DOCS_DIR}/cudf/txt" + mv build/text/* "${RAPIDS_DOCS_DIR}/cudf/txt" +fi popd rapids-logger "Build dask-cuDF Sphinx docs" @@ -56,9 +58,11 @@ pushd docs/dask_cudf make dirhtml mkdir -p "${RAPIDS_DOCS_DIR}/dask-cudf/html" mv build/dirhtml/* "${RAPIDS_DOCS_DIR}/dask-cudf/html" -make text -mkdir -p "${RAPIDS_DOCS_DIR}/dask-cudf/txt" -mv build/text/* "${RAPIDS_DOCS_DIR}/dask-cudf/txt" +if [[ "${RAPIDS_BUILD_TYPE}" != "pull-request" ]]; then + make text + mkdir -p "${RAPIDS_DOCS_DIR}/dask-cudf/txt" + mv build/text/* "${RAPIDS_DOCS_DIR}/dask-cudf/txt" +fi popd rapids-upload-docs diff --git a/docs/cudf/source/libcudf_docs/api_docs/io_readers.rst b/docs/cudf/source/libcudf_docs/api_docs/io_readers.rst index a835673dee4..f94a5ddb403 100644 --- a/docs/cudf/source/libcudf_docs/api_docs/io_readers.rst +++ b/docs/cudf/source/libcudf_docs/api_docs/io_readers.rst @@ -2,4 +2,4 @@ Io Readers ========== .. doxygengroup:: io_readers - :desc-only: + :members: diff --git a/docs/cudf/source/libcudf_docs/api_docs/strings_convert.rst b/docs/cudf/source/libcudf_docs/api_docs/strings_convert.rst index ae5d78fb1a1..f2f320bd0e4 100644 --- a/docs/cudf/source/libcudf_docs/api_docs/strings_convert.rst +++ b/docs/cudf/source/libcudf_docs/api_docs/strings_convert.rst @@ -2,4 +2,4 @@ Strings Convert =============== .. doxygengroup:: strings_convert - :desc-only: + :members: