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
This commit is contained in:
Sean McGinnis 2018-03-21 16:15:01 -05:00
parent 7d250abe04
commit 9ca9546fd1
1 changed files with 2 additions and 0 deletions

View File

@ -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]