diff --git a/tests/scripts/task_sphinx_precheck.sh b/tests/scripts/task_sphinx_precheck.sh index 1f4288632b9d..2179cb0cfedf 100755 --- a/tests/scripts/task_sphinx_precheck.sh +++ b/tests/scripts/task_sphinx_precheck.sh @@ -34,6 +34,7 @@ find . -type f -path "*.pyc" | xargs rm -f echo "PreCheck sphinx doc generation WARNINGS.." cd docs +make clean TVM_TUTORIAL_EXEC_PATTERN=none make html 2>/tmp/$$.log.txt grep -v -E "__mro__|RemovedInSphinx|UserWarning|FutureWarning|Keras" < /tmp/$$.log.txt > /tmp/$$.logclean.txt || true