From 7e8ed12b18c55756b0541169d9867aa18e21bad7 Mon Sep 17 00:00:00 2001 From: cchung100m Date: Mon, 3 Jul 2023 22:21:15 +0800 Subject: [PATCH] [#15157][Rust][Doc] Re-enable the Rust documentation build --- docs/reference/api/links.rst | 1 + tests/scripts/task_python_docs.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/reference/api/links.rst b/docs/reference/api/links.rst index a2a43bf7d0f24..7bc160c1c19b4 100644 --- a/docs/reference/api/links.rst +++ b/docs/reference/api/links.rst @@ -24,3 +24,4 @@ build system. * `C++ doyxgen API `_ * `Typescript typedoc API `_ * `Java Javadoc API `_ +* `Rust Rustdoc API `_ \ No newline at end of file diff --git a/tests/scripts/task_python_docs.sh b/tests/scripts/task_python_docs.sh index 9690c330c0df2..0841b358be304 100755 --- a/tests/scripts/task_python_docs.sh +++ b/tests/scripts/task_python_docs.sh @@ -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 @@ -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