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:
parent
7d250abe04
commit
9ca9546fd1
2
tox.ini
2
tox.ini
|
@ -28,8 +28,10 @@ commands =
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
|
whitelist_externals = rm
|
||||||
deps = -r{toxinidir}/doc/requirements.txt
|
deps = -r{toxinidir}/doc/requirements.txt
|
||||||
commands =
|
commands =
|
||||||
|
rm -fr doc/builds
|
||||||
sphinx-build -W -b html doc/source doc/build/html
|
sphinx-build -W -b html doc/source doc/build/html
|
||||||
|
|
||||||
[testenv:bandit]
|
[testenv:bandit]
|
||||||
|
|
Loading…
Reference in New Issue