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. No bugs in this one. Good work guys! Change-Id: I0c5020a8758918dc45fad49220aecb54af599322
This commit is contained in:
parent
279da59d17
commit
e6764d4010
@ -22,13 +22,11 @@ classifier =
|
|||||||
packages =
|
packages =
|
||||||
oslo_serialization
|
oslo_serialization
|
||||||
|
|
||||||
[pbr]
|
|
||||||
warnerrors = true
|
|
||||||
|
|
||||||
[build_sphinx]
|
[build_sphinx]
|
||||||
|
all-files = 1
|
||||||
|
warning-is-error = 1
|
||||||
source-dir = doc/source
|
source-dir = doc/source
|
||||||
build-dir = doc/build
|
build-dir = doc/build
|
||||||
all_files = 1
|
|
||||||
|
|
||||||
[upload_sphinx]
|
[upload_sphinx]
|
||||||
upload-dir = doc/build/html
|
upload-dir = doc/build/html
|
||||||
|
Loading…
Reference in New Issue
Block a user