Report sphinx errors

Add warnerrors variable so that sphinx tells us about documentation
problems.

Change-Id: I6ad62b2c148f3299ff4f8735a91f5cc91e06ec38
This commit is contained in:
Andreas Jaeger 2016-08-26 15:12:11 +02:00
parent ab0e341aa0
commit e5c5f5078e
1 changed files with 6 additions and 0 deletions

View File

@ -44,3 +44,9 @@ input_file = security-analysis/locale/security-analysis.pot
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
output_file = security-analysis/locale/security-analysis.pot
[pbr]
# Treat sphinx warnings as errors during the docs build; this helps us keep
# the documentation clean.
warnerrors = true