Clean docs/build before building docs
Change-Id: I73ad7290f9bd25385bef3ccbf990608904ee1e08
This commit is contained in:
parent
492254c7e6
commit
1a20fe71fb
5
tox.ini
5
tox.ini
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue