Update tox docs environment to use sphinx-build

We've been moving to running sphinx-build directly instead of python
setup.py build_sphin.

Change-Id: Ic847b5911aa7499033e879ffe6c1cac4d9c9f80e
This commit is contained in:
Monty Taylor 2018-08-20 10:31:01 -05:00
parent 59c771d7cb
commit c9282ae021
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594

View File

@ -22,7 +22,8 @@ commands = flake8
commands = python setup.py sdist {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
commands =
sphinx-build -W -d doc/build/doctrees -b html doc/source/ doc/build/html
[testenv:venv]
commands = {posargs}