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:
parent
7bd1de09c0
commit
beef54c139
4
tox.ini
4
tox.ini
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user