Skip to content

Commit

Permalink
[#15157][Rust][Doc] Re-enable the Rust documentation build (#15213)
Browse files Browse the repository at this point in the history
This PR is trying to fix issues #15157 and #9217, any suggestions and feedback would be appreciated if you are available.

Reference: #9288
  • Loading branch information
cchung100m authored Jul 5, 2023
1 parent 23fb568 commit c928852
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/reference/api/links.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ build system.
* `C++ doyxgen API <doxygen/index.html>`_
* `Typescript typedoc API <typedoc/index.html>`_
* `Java Javadoc API <javadoc/index.html>`_
* `Rust Rustdoc API <rust/index.html>`_
4 changes: 2 additions & 2 deletions tests/scripts/task_python_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ cd ..
# Rust doc
cd rust
# Temp disable rust doc build
# cargo doc --workspace --no-deps
cargo doc --workspace --no-deps
cd ..

# Prepare the doc dir
Expand All @@ -173,7 +173,7 @@ rm -f _docs/.buildinfo
mkdir -p _docs/reference/api
mv docs/doxygen/html _docs/reference/api/doxygen
mv jvm/core/target/site/apidocs _docs/reference/api/javadoc
# mv rust/target/doc _docs/api/rust
mv rust/target/doc _docs/api/rust
mv web/dist/docs _docs/reference/api/typedoc
git rev-parse HEAD > _docs/commit_hash

Expand Down

0 comments on commit c928852

Please sign in to comment.