[tox] # Allows docs to be built without setup.py having to exist. Requires that # usedevelop be False as well (which it is by default). skipsdist = True [testenv] whitelist_externals = rm [testenv:docs] basepython = python3 deps = -r{toxinidir}/doc/requirements.txt commands = rm -rf doc/build sphinx-build -W -b html doc/source doc/build/html