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:
2
tox.ini
2
tox.ini
@@ -25,7 +25,7 @@ commands =
|
|||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
commands = python setup.py build_sphinx
|
commands = sphinx-build -W -b html doc/source doc/build
|
||||||
|
|
||||||
[testenv:validate]
|
[testenv:validate]
|
||||||
commands = python3 tools/validate_tags.py
|
commands = python3 tools/validate_tags.py
|
||||||
|
|||||||
Reference in New Issue
Block a user