Skip to content

Commit

Permalink
[0.6-BACKPORT] Improve robustness of the docs build (apache#5583)
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen authored May 13, 2020
1 parent 802e564 commit 2cd6321
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/scripts/task_python_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ rm -rf docs/_build/html/javadoc

# remove stale tutorials and always build from scratch.
rm -rf docs/tutorials
rm -rf docs/vta/tutorials

# cleanup stale log files
find . -type f -path "*.log" | xargs rm -f
find . -type f -path "*.pyc" | xargs rm -f
make cython3

# C++ doc
make doc
Expand All @@ -37,7 +43,6 @@ mv out docs/_build/html/jsdoc
make javadoc
mv jvm/core/target/site/apidocs docs/_build/html/javadoc

rm -rf python/tvm/*.pyc python/tvm/*/*.pyc python/tvm/*/*/*.pyc

cd docs
PYTHONPATH=`pwd`/../python make html
Expand Down

0 comments on commit 2cd6321

Please sign in to comment.