From 5b857d3c90a6c9c8584567c1f83cbb2f998f5c5b Mon Sep 17 00:00:00 2001 From: Tianqi Chen Date: Wed, 1 Apr 2020 19:44:42 -0700 Subject: [PATCH] [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 -- 2.7.4