Use sphinx-build everywhere

Using 'python setup.py build_sphinx' is deprecated, use sphinx-build
everywhere in tox.ini.

Change-Id: Ia1ce85ff2ee75718c79c84d58b496348d5327b7f
This commit is contained in:
Andreas Jaeger 2018-08-18 11:43:16 +02:00
parent 7bd1de09c0
commit beef54c139
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ commands = {posargs}
basepython = python3
commands =
rm -rf doc/build api-ref/build
python setup.py build_sphinx
sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
sphinx-build -a -E -W -d doc/build/doctrees -b latex doc/source doc/build/pdf
make -C doc/build/pdf
sphinx-build -a -E -W -d api-ref/build/doctrees -b html api-ref/source api-ref/build/html
@ -37,7 +37,7 @@ commands =
[testenv:html]
commands =
rm -rf doc/build api-ref/build
python setup.py build_sphinx
sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
sphinx-build -a -E -W -d api-ref/build/doctrees -b html api-ref/source api-ref/build/html
[testenv:releasenotes]