You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by tq...@apache.org on 2020/04/02 02:44:49 UTC

[incubator-tvm] branch master updated: [DOCS] Reduce artifcats generated by sphinx gallery (#5208)

This is an automated email from the ASF dual-hosted git repository.

tqchen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git


The following commit(s) were added to refs/heads/master by this push:
     new 5b857d3  [DOCS] Reduce artifcats generated by sphinx gallery (#5208)
5b857d3 is described below

commit 5b857d3c90a6c9c8584567c1f83cbb2f998f5c5b
Author: Tianqi Chen <tq...@users.noreply.github.com>
AuthorDate: Wed Apr 1 19:44:42 2020 -0700

    [DOCS] Reduce artifcats generated by sphinx gallery (#5208)
---
 docs/conf.py                      | 2 ++
 tests/scripts/task_python_docs.sh | 1 +
 2 files changed, 3 insertions(+)

diff --git a/docs/conf.py b/docs/conf.py
index 81d6c1c..6ef86ca 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -218,6 +218,8 @@ sphinx_gallery_conf = {
     'subsection_order': subsection_order,
     'filename_pattern': os.environ.get("TVM_TUTORIAL_EXEC_PATTERN", ".py"),
     'find_mayavi_figures': False,
+    'download_all_examples': False,
+    "min_reported_time": 60,
     'expected_failing_examples': []
 }
 
diff --git a/tests/scripts/task_python_docs.sh b/tests/scripts/task_python_docs.sh
index 9a144a7..2d59411 100755
--- a/tests/scripts/task_python_docs.sh
+++ b/tests/scripts/task_python_docs.sh
@@ -39,6 +39,7 @@ cd ..
 
 rm -rf _docs
 mv docs/_build/html _docs
+rm -f _docs/.buildinfo
 
 # C++ doc
 make doc