Treat doc build warnings as errors

[pbr]warnerrors doesn't actually make the sphinx
docs build fail on warnings, and we have a ton of
garbage in the specs. pbr 2.0.0 removes warnerrors
so we should be using warning-is-error with sphinx
instead, which was introduced in sphinx 1.5 (we use 1.5.1).

Change-Id: Ibd087afd7a11f835d3bc74b7be1e9ccfbdcb1224
This commit is contained in:
Matt Riedemann 2017-03-01 17:33:07 -05:00 committed by Stephen Finucane
parent f0aaee6b32
commit adae1b4154
1 changed files with 1 additions and 3 deletions

View File

@ -15,9 +15,7 @@ classifier =
all_files = 1
build-dir = doc/build
source-dir = doc/source
[pbr]
warnerrors = True
warning-is-error = 1
[wheel]
universal = 1