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:
Doug Hellmann 2018-09-04 15:05:23 -04:00
parent 399049a49e
commit 93582756d4
2 changed files with 1 additions and 10 deletions

View File

@ -33,15 +33,6 @@ sphinx =
sphinx>=1.5.1,!=1.6.1 # BSD
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]
directory = reno/locale
domain = reno

View File

@ -36,7 +36,7 @@ commands = python setup.py test --coverage --testr-args='{posargs}'
[testenv:docs]
basepython = python3
commands = python setup.py build_sphinx
commands = sphinx-build -a -W -E -b html doc/source doc/build/html
[testenv:debug]
basepython = python3