Use Sphinx 1.5 warning-is-error

With pbr 2.0 and Sphinx 1.5, the setting for treat sphinx warnings as
errors is setting warning-is-error in build_sphinx section. Migrate
the setting from the old warnerrors one.

Change-Id: Ic4f2dd097137e4fa12acbdbfa47ea078d1b6d105
This commit is contained in:
Andreas Jaeger 2017-03-03 19:20:53 +01:00 committed by Armando Migliaccio
parent 52f9d90484
commit 5c5fcaf528
1 changed files with 1 additions and 7 deletions

View File

@ -159,6 +159,7 @@ tempest.test_plugins =
all_files = 1
build-dir = doc/build
source-dir = doc/source
warning-is-error = 1
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
@ -176,10 +177,3 @@ input_file = neutron/locale/neutron.pot
[wheel]
universal = 1
# NOTE(ihrachys): disable until a new pbr release is released that will
# actually make the flag effective. Otherwise, we may be broken by the next pbr
# release. More info at:
# http://lists.openstack.org/pipermail/openstack-dev/2016-June/097849.html
#[pbr]
#warnerrors = true