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. Enable this

Change-Id: I3712c681cedae30c189d975f6b319e278c1bd419
This commit is contained in:
Stephen Finucane 2017-08-07 16:22:17 +01:00 committed by Stephen Finucane
parent 4661e4d696
commit d7dd30a631

View File

@ -103,9 +103,10 @@ setup-hooks =
[build_sphinx]
builders = html,man
all-files = 1
warning-is-error = 1
source-dir = doc/source
build-dir = doc/build
all_files = 1
[upload_sphinx]
upload-dir = doc/build/html