Skip to content

Commit c928852

Browse files
authored
[apache#15157][Rust][Doc] Re-enable the Rust documentation build (apache#15213)
This PR is trying to fix issues apache#15157 and apache#9217, any suggestions and feedback would be appreciated if you are available. Reference: apache#9288
1 parent 23fb568 commit c928852

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

docs/reference/api/links.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ build system.
2424
* `C++ doyxgen API <doxygen/index.html>`_
2525
* `Typescript typedoc API <typedoc/index.html>`_
2626
* `Java Javadoc API <javadoc/index.html>`_
27+
* `Rust Rustdoc API <rust/index.html>`_

tests/scripts/task_python_docs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ cd ..
163163
# Rust doc
164164
cd rust
165165
# Temp disable rust doc build
166-
# cargo doc --workspace --no-deps
166+
cargo doc --workspace --no-deps
167167
cd ..
168168

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

0 commit comments

Comments
 (0)