setup.cfg: Add warning-is-error

This will ensure docs are emit warnings if bugs are introduced.

In addition, the 'build_releasenotes' section is removed as this does
nothing.

Change-Id: I6cc39bd4ae487b49603d6bd43d803c7c634e0480
This commit is contained in:
Stephen Finucane 2017-07-04 13:41:22 +01:00
parent 43ee0a5d68
commit 5a62b409fc
1 changed files with 2 additions and 6 deletions

View File

@ -24,9 +24,10 @@ packages =
os_traits
[build_sphinx]
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
@ -44,8 +45,3 @@ input_file = os_traits/locale/os_traits.pot
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
output_file = os_traits/locale/os_traits.pot
[build_releasenotes]
all_files = 1
build-dir = releasenotes/build
source-dir = releasenotes/source