[tox] minversion = 1.4 envlist = docs skipsdist = True [testenv] basepython = python3 usedevelop = True setenv = VIRTUAL_ENV={envdir} deps = -r{toxinidir}/requirements.txt [testenv:venv] commands = {posargs} [testenv:docs] commands = sphinx-build -W --keep-going -b html -d doc/build/doctrees doc/source doc/build/html