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:
parent
59c771d7cb
commit
c9282ae021
3
tox.ini
3
tox.ini
@ -22,7 +22,8 @@ commands = flake8
|
|||||||
commands = python setup.py sdist {posargs}
|
commands = python setup.py sdist {posargs}
|
||||||
|
|
||||||
[testenv:docs]
|
[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]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user