Stop using setup.py build_sphinx
This is deprecated in pbr and the preferred way to do doc builds now is to use sphinx-build directly. Change-Id: Id5081ffb9f5b5e6ce608d2f10e9ef89a8b40eeed
This commit is contained in:
parent
8b8501e912
commit
b8bf7b2810
5
tox.ini
5
tox.ini
@ -31,7 +31,10 @@ commands = {posargs}
|
||||
|
||||
[testenv:docs]
|
||||
basepython = python3
|
||||
commands = python setup.py build_sphinx
|
||||
whitelist_externals = rm
|
||||
commands =
|
||||
rm -fr doc/build
|
||||
sphinx-build -W -b html doc/source doc/build/html {posargs}
|
||||
|
||||
[testenv:cover]
|
||||
basepython = python3
|
||||
|
Loading…
x
Reference in New Issue
Block a user