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
1 changed files with 4 additions and 1 deletions

View File

@ -31,7 +31,10 @@ commands = {posargs}
[testenv:docs] [testenv:docs]
basepython = python3 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] [testenv:cover]
basepython = python3 basepython = python3