diff --git a/tox.ini b/tox.ini index 031b41bb..3cf7fa47 100644 --- a/tox.ini +++ b/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}'