From ef7a61db4f8675d2d51e8069624412ff17723b4d Mon Sep 17 00:00:00 2001 From: James Lamb Date: Fri, 11 Oct 2024 15:00:22 -0500 Subject: [PATCH] fix version in Doxygen docs (#6104) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Follow-up to #6103. In that PR, I'd removed the `export RAPIDS_MAJOR_MINOR_VERSION`. I realized that this project's Doxygen setup actually expects that to be set in the environment. https://github.com/rapidsai/cuml/blob/22342aad0ecd327e3140471c479d01d83b932c23/ci/build_docs.sh#L35 https://github.com/rapidsai/cuml/blob/22342aad0ecd327e3140471c479d01d83b932c23/cpp/Doxyfile.in#L41 This fixes that, sorry 😬 Authors: - James Lamb (https://github.com/jameslamb) Approvers: - https://github.com/jakirkham - Mike Sarahan (https://github.com/msarahan) URL: https://github.com/rapidsai/cuml/pull/6104 --- ci/build_docs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/build_docs.sh b/ci/build_docs.sh index 44980ae83d..05f1f24ee5 100755 --- a/ci/build_docs.sh +++ b/ci/build_docs.sh @@ -6,6 +6,7 @@ rapids-logger "Create test conda environment" . /opt/conda/etc/profile.d/conda.sh RAPIDS_VERSION="$(rapids-version)" +export RAPIDS_VERSION_MAJOR_MINOR="$(rapids-version-major-minor)" rapids-dependency-file-generator \ --output conda \ @@ -44,4 +45,4 @@ mkdir -p "${RAPIDS_DOCS_DIR}/cuml/html" mv _html/* "${RAPIDS_DOCS_DIR}/cuml/html" popd -RAPIDS_VERSION_NUMBER="$(rapids-version-major-minor)" rapids-upload-docs +RAPIDS_VERSION_NUMBER="${RAPIDS_VERSION_MAJOR_MINOR}" rapids-upload-docs