Enable sphinx warnings

With pbr 2.0 and Sphinx 1.5, we need to use warning-is-error for sphinx
warnings.

Disable the non-local-uri warning, it's raised by our badge in
README.rst.

Change-Id: I77ff11a3cd0742bc4c1a6e7037644801877f6661
This commit is contained in:
Andreas Jaeger 2017-03-02 16:33:58 +01:00
parent 038542ceed
commit 858de30916
2 changed files with 4 additions and 3 deletions

View File

@ -95,6 +95,9 @@ pygments_style = 'sphinx'
# A list of ignored prefixes for module index sorting.
modindex_common_prefix = ['docs-specs.']
# Do not warn about non-local image URI
suppress_warnings = ['image.nonlocal_uri']
# -- Options for man page output ----------------------------------------------
man_pages = []

View File

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