[tox] minversion = 1.6 envlist = docs skipsdist = True [testenv] usedevelop = True setenv = VIRTUAL_ENV={envdir} install_command = pip install -U {opts} {packages} deps = -r{toxinidir}/requirements.txt [testenv:venv] commands = {posargs} [testenv:docs] basepython = python3 commands = sphinx-build -W -d doc/build/doctrees -b html doc/source/ doc/build/html