From ab6104cb8b2c8c46c07868671a354fabad45f3a8 Mon Sep 17 00:00:00 2001 From: Dong Ma Date: Mon, 26 Jun 2017 00:08:50 +0800 Subject: [PATCH] turn on warning-is-error in documentation build Turn on the flag to ensure that future warnings in the doc build trigger a build failure. Change-Id: I95292fecac50302ca77d1f90295d316c5f204dd6 --- setup.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.cfg b/setup.cfg index 6d16ea0..983a751 100644 --- a/setup.cfg +++ b/setup.cfg @@ -38,6 +38,7 @@ oslo.config.opts = source-dir = doc/source build-dir = doc/build all_files = 1 +warning-is-error = 1 [upload_sphinx] upload-dir = doc/build/html