Clean docs/build before building docs

Change-Id: I73ad7290f9bd25385bef3ccbf990608904ee1e08
This commit is contained in:
Tom Barron 2017-03-03 14:03:55 -05:00
parent 492254c7e6
commit 1a20fe71fb
1 changed files with 4 additions and 1 deletions

View File

@ -46,7 +46,10 @@ commands = pip install django>=1.10,<1.11
commands = {toxinidir}/tools/cover.sh {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
whitelist_externals = rm
commands =
rm -rf doc/build
python setup.py build_sphinx
[testenv:releasenotes]
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees \