tox: Add 'docs' target

This is easier than creating a virtualenv, installing deps and running
make. It also makes explicit use of the setuptool integration that is
now documented.

Signed-off-by: Stephen Finucane <stephen@that.guru>
This commit is contained in:
Stephen Finucane 2017-02-24 13:25:51 -05:00
parent 29da4f9444
commit 020e77b794

View File

@ -54,3 +54,7 @@ deps=
commands=
{envpython} -Wall tests/run.py {posargs}
sphinx-build -q -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html
[testenv:docs]
commands=
python setup.py build_sphinx