From 9ca9546fd1cf70682a03e2c19df19e784e4937b6 Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Wed, 21 Mar 2018 16:15:01 -0500 Subject: [PATCH] Clean old output before new doc builds Remove the doc/build directory to make sure there are no stale artifacts from past runs. Change-Id: I87b302733402cc096eecacebbbc5631aebc42948 --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index d766d8a2..1e3e931c 100644 --- a/tox.ini +++ b/tox.ini @@ -28,8 +28,10 @@ commands = commands = {posargs} [testenv:docs] +whitelist_externals = rm deps = -r{toxinidir}/doc/requirements.txt commands = + rm -fr doc/builds sphinx-build -W -b html doc/source doc/build/html [testenv:bandit]