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:
Ben Nemec 2019-01-09 23:11:16 +00:00
parent 8b8501e912
commit b8bf7b2810

View File

@ -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