diff options
author | Sean McGinnis <sean.mcginnis@huawei.com> | 2018-03-21 16:10:29 -0500 |
---|---|---|
committer | Sean McGinnis <sean.mcginnis@huawei.com> | 2018-03-21 16:12:44 -0500 |
commit | 94c8bf7f58a416aaf5dec88ed96dd4dc956ba1ac (patch) | |
tree | b4bb6e73b6b4e0d167a2c67503de012b506a099d | |
parent | 7c16543e4fad64123eb0b18a6dc35b6e0eaae164 (diff) | |
download | oslo-utils-94c8bf7f58a416aaf5dec88ed96dd4dc956ba1ac.tar.gz |
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: Icd65eab77928d78ae775adbea03c8cf537b5adc1
-rw-r--r-- | tox.ini | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -20,8 +20,11 @@ commands = commands = {posargs} [testenv:docs] +whitelist_externals = rm deps = -r{toxinidir}/doc/requirements.txt -commands = sphinx-build -W -b html doc/source doc/build/html +commands = + rm -fr doc/build + sphinx-build -W -b html doc/source doc/build/html [testenv:cover] commands = python setup.py test --coverage --coverage-package-name=oslo_utils --testr-args='{posargs}' |