fix tox to allow building docs locally

Recent changes in sphinx and pbr make it easier to just invoke
sphinx-build directly instead of going through setup.py.

Change-Id: Ic5c4f397fd45d9978c630ff03dcff7bf6b4d05e4
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2018-03-28 17:32:59 -04:00
parent 2d7dcffa3f
commit 3cf31abecb

View File

@ -25,7 +25,7 @@ commands =
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
commands = sphinx-build -W -b html doc/source doc/build
[testenv:validate]
commands = python3 tools/validate_tags.py