diff --git a/ci/build_docs.sh b/ci/build_docs.sh index 9d4509e08a..fbf24b346d 100755 --- a/ci/build_docs.sh +++ b/ci/build_docs.sh @@ -40,10 +40,17 @@ pushd cpp/doxygen doxygen Doxyfile popd +rapids-logger "Build Rust docs" +pushd rust +export LIBCLANG_PATH=$(dirname $(find /opt/conda -name libclang.so | head -n 1)) +cargo doc -p cuvs --no-deps +popd + rapids-logger "Build Python docs" pushd docs sphinx-build -b dirhtml source _html sphinx-build -b text source _text +mv ../rust/target/doc ./_html/_static/rust mkdir -p "${RAPIDS_DOCS_DIR}/cuvs/"{html,txt} mv _html/* "${RAPIDS_DOCS_DIR}/cuvs/html" mv _text/* "${RAPIDS_DOCS_DIR}/cuvs/txt" diff --git a/dependencies.yaml b/dependencies.yaml index 1951ee5cf0..74b573c017 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -47,6 +47,7 @@ files: - py_version - rust - build + - cuda rust: output: none includes: