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: If31f68a80ab9e490dbf1457c274ac9f0c78239c4
This commit is contained in:
Stephen Finucane 2017-03-22 13:24:52 +00:00
parent add1b72780
commit 7c5ab22f8f
1 changed files with 1 additions and 4 deletions

View File

@ -22,9 +22,6 @@ classifier =
packages =
oslo_service
[pbr]
warnerrors = true
[entry_points]
oslo.config.opts =
oslo.service.periodic_task = oslo_service.periodic_task:list_opts
@ -33,9 +30,9 @@ oslo.config.opts =
oslo.service.wsgi = oslo_service.wsgi:list_opts
[build_sphinx]
warning-is-error = 1
source-dir = doc/source
build-dir = doc/build
all_files = 1
[upload_sphinx]
upload-dir = doc/build/html