Merge "Disable warnings as errors for sphinx"

This commit is contained in:
Zuul 2018-03-01 18:12:34 +00:00 committed by Gerrit Code Review
commit 039ce85a15
2 changed files with 3 additions and 2 deletions

View File

@ -49,7 +49,8 @@ oslo.config.opts =
[build_sphinx] [build_sphinx]
all-files = 1 all-files = 1
warning-is-error = 1 # warning can be generated by using GENERATE_TEMPEST_PLUGIN_LIST='False'
warning-is-error = 0
build-dir = doc/build build-dir = doc/build
source-dir = doc/source source-dir = doc/source

View File

@ -146,7 +146,7 @@ deps =
-r{toxinidir}/doc/requirements.txt -r{toxinidir}/doc/requirements.txt
commands = commands =
rm -rf doc/build rm -rf doc/build
sphinx-build -b html doc/source doc/build/html sphinx-build -W -b html doc/source doc/build/html
whitelist_externals = rm whitelist_externals = rm
[testenv:pep8] [testenv:pep8]