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:
parent
add1b72780
commit
7c5ab22f8f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user