From 27b6812b06a71a8f9561394c53e10a4370eab5ec Mon Sep 17 00:00:00 2001 From: Tianqi Chen Date: Wed, 19 Sep 2018 20:43:26 -0700 Subject: [PATCH] [CI] always rebuild sphinx-gallery docs from scratch (#1742) --- tests/scripts/task_python_docs.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/scripts/task_python_docs.sh b/tests/scripts/task_python_docs.sh index 4ff7c490..72c9fbf6 100755 --- a/tests/scripts/task_python_docs.sh +++ b/tests/scripts/task_python_docs.sh @@ -1,6 +1,10 @@ #!/bin/bash mkdir -p docs/_build/html rm -rf docs/_build/html/jsdoc + +# remove stale tutorials and always build from scratch. +rm -rf docs/tutorials + # C++ doc make doc