Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rust docs build #84

Merged
merged 2 commits into from
Apr 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions ci/build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ files:
- py_version
- rust
- build
- cuda
rust:
output: none
includes:
Expand Down
Loading