Unverified Commit 62b3195b by Tianqi Chen Committed by GitHub

[DOCS] Misc docs improvements (#5222)

- Reduce CI docs task log size.
- Update the relation to halide to the latest state.
parent db535f45
...@@ -41,7 +41,7 @@ Checkout the [Contributor Guide](https://tvm.apache.org/docs/contribute/) ...@@ -41,7 +41,7 @@ Checkout the [Contributor Guide](https://tvm.apache.org/docs/contribute/)
Acknowledgement Acknowledgement
--------------- ---------------
We learned a lot from the following projects when building TVM. 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 - [Halide](https://github.com/halide/Halide): Part of TVM's TIR and arithmetic simplification module
arithmetic simplification and low level lowering. We also learned and adapted some part of lowering pipeline from Halide. 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. - [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. - [Theano](https://github.com/Theano/Theano): the design inspiration of symbolic scan operator for recurrence.
...@@ -20,7 +20,7 @@ set -e ...@@ -20,7 +20,7 @@ set -e
set -u set -u
# cleanup old states # cleanup old states
rm -rf docs/_build/html rm -rf docs/_build
mkdir -p docs/_build/html mkdir -p docs/_build/html
rm -rf docs/gen_modules rm -rf docs/gen_modules
rm -rf docs/doxygen rm -rf docs/doxygen
...@@ -37,25 +37,26 @@ cd docs ...@@ -37,25 +37,26 @@ cd docs
PYTHONPATH=`pwd`/../python make html PYTHONPATH=`pwd`/../python make html
cd .. cd ..
rm -rf _docs
mv docs/_build/html _docs
rm -f _docs/.buildinfo
# C++ doc # C++ doc
make doc make doc
rm -f docs/doxygen/html/*.map docs/doxygen/html/*.md5 rm -f docs/doxygen/html/*.map docs/doxygen/html/*.md5
mv docs/doxygen/html _docs/doxygen
# JS doc # JS doc
jsdoc -c web/.jsdoc_conf.json web/tvm_runtime.js web/README.md jsdoc -c web/.jsdoc_conf.json web/tvm_runtime.js web/README.md
mv out _docs/jsdoc
# Java doc # Java doc
make javadoc 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 mv jvm/core/target/site/apidocs _docs/javadoc
echo "Start creating the docs tarball.." echo "Start creating the docs tarball.."
# make the tarball # make the tarball
tar -C _docs -czvf docs.tgz . tar -C _docs -czf docs.tgz .
echo "Finish creating the docs tarball" echo "Finish creating the docs tarball"
du -h docs.tgz du -h docs.tgz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment