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: I4748f9e7787d4fe053ad095d88eec83682b4df7f
This commit is contained in:
parent
a32bd447fa
commit
a629c5e275
5
tox.ini
5
tox.ini
@ -38,8 +38,11 @@ commands =
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:docs]
|
||||
whitelist_externals = rm
|
||||
deps = -r{toxinidir}/doc/requirements.txt
|
||||
commands = sphinx-build -b html doc/source doc/build/html
|
||||
commands =
|
||||
rm -fr doc/build
|
||||
sphinx-build -b html doc/source doc/build/html
|
||||
|
||||
[testenv:cover]
|
||||
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user