From 329164cc5f859997b02bfd5288b6da70ba9f227a Mon Sep 17 00:00:00 2001 From: "pawnesh.kumar" Date: Mon, 3 Apr 2017 15:22:26 +0530 Subject: [PATCH] Enable warnings as errors for doc building Treat warnings as errors for doc building - adding Sphinx' warning-is-errors variable. Change-Id: I12f9c92e8b8f9245614797e65af1ae48a0714923 --- setup.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.cfg b/setup.cfg index f8e4990..989254e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -82,6 +82,7 @@ oslo.config.opts.defaults = all_files = 1 build-dir = doc/build source-dir = doc/source +warning-is-error = 1 [extract_messages] keywords = _ gettext ngettext l_ lazy_gettext