[DOCS] Misc docs improvements (#5222)
authorTianqi Chen <tqchen@users.noreply.github.com>
Thu, 2 Apr 2020 23:56:11 +0000 (16:56 -0700)
committerGitHub <noreply@github.com>
Thu, 2 Apr 2020 23:56:11 +0000 (16:56 -0700)
- Reduce CI docs task log size.
- Update the relation to halide to the latest state.

README.md
tests/scripts/task_python_docs.sh

index faa6159..3f5b172 100644 (file)
--- a/README.md
+++ b/README.md
@@ -41,7 +41,7 @@ Checkout the [Contributor Guide](https://tvm.apache.org/docs/contribute/)
 Acknowledgement
 ---------------
 We learned a lot from the following projects when building TVM.
-- [Halide](https://github.com/halide/Halide): TVM uses [HalideIR](https://github.com/dmlc/HalideIR) as data structure for
-  arithmetic simplification and low level lowering. We also learned and adapted some part of lowering pipeline from Halide.
+- [Halide](https://github.com/halide/Halide): Part of TVM's TIR and arithmetic simplification module
+  originates from Halide. We also learned and adapted some part of lowering pipeline from Halide.
 - [Loopy](https://github.com/inducer/loopy): use of integer set analysis and its loop transformation primitives.
 - [Theano](https://github.com/Theano/Theano): the design inspiration of symbolic scan operator for recurrence.
index 2d59411..5079062 100755 (executable)
@@ -20,7 +20,7 @@ set -e
 set -u
 
 # cleanup old states
-rm -rf docs/_build/html
+rm -rf docs/_build
 mkdir -p docs/_build/html
 rm -rf docs/gen_modules
 rm -rf docs/doxygen
@@ -37,25 +37,26 @@ cd docs
 PYTHONPATH=`pwd`/../python make html
 cd ..
 
-rm -rf _docs
-mv docs/_build/html _docs
-rm -f _docs/.buildinfo
-
 # C++ doc
 make doc
 rm -f docs/doxygen/html/*.map docs/doxygen/html/*.md5
-mv docs/doxygen/html _docs/doxygen
 
 # JS doc
 jsdoc -c web/.jsdoc_conf.json web/tvm_runtime.js web/README.md
-mv out _docs/jsdoc
 
 # Java doc
 make javadoc
+
+# Prepare the doc dir
+rm -rf _docs
+mv docs/_build/html _docs
+rm -f _docs/.buildinfo
+mv docs/doxygen/html _docs/doxygen
+mv out _docs/jsdoc
 mv jvm/core/target/site/apidocs _docs/javadoc
 
 echo "Start creating the docs tarball.."
 # make the tarball
-tar -C _docs -czvf docs.tgz .
+tar -C _docs -czf docs.tgz .
 echo "Finish creating the docs tarball"
 du -h docs.tgz