move sphinx flags to tox.ini
Use sphinx-build directly instead of relying on pbr's integration. Change-Id: I3ed1c9f3507769d784103a4e087ec1bbb73ce532 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
399049a49e
commit
93582756d4
@ -33,15 +33,6 @@ sphinx =
|
|||||||
sphinx>=1.5.1,!=1.6.1 # BSD
|
sphinx>=1.5.1,!=1.6.1 # BSD
|
||||||
docutils>=0.11 # OSI-Approved Open Source, Public Domain
|
docutils>=0.11 # OSI-Approved Open Source, Public Domain
|
||||||
|
|
||||||
[build_sphinx]
|
|
||||||
source-dir = doc/source
|
|
||||||
build-dir = doc/build
|
|
||||||
all_files = 1
|
|
||||||
warning-is-error = 1
|
|
||||||
|
|
||||||
[upload_sphinx]
|
|
||||||
upload-dir = doc/build/html
|
|
||||||
|
|
||||||
[compile_catalog]
|
[compile_catalog]
|
||||||
directory = reno/locale
|
directory = reno/locale
|
||||||
domain = reno
|
domain = reno
|
||||||
|
2
tox.ini
2
tox.ini
@ -36,7 +36,7 @@ commands = python setup.py test --coverage --testr-args='{posargs}'
|
|||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
commands = python setup.py build_sphinx
|
commands = sphinx-build -a -W -E -b html doc/source doc/build/html
|
||||||
|
|
||||||
[testenv:debug]
|
[testenv:debug]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
|
Loading…
Reference in New Issue
Block a user