From d2282acf424a1c9de60f1b048653a2e449b38502 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Thu, 24 Sep 2015 21:46:09 -0400 Subject: [PATCH] docs - Set pbr 'warnerrors' option for doc build By setting this pbr option in setup.cfg, the doc build will fail in case of any warnings or errors occur during the build process. Change-Id: Idc4a670f019a399d7bfee1c4431f29ce396c0c23 --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.cfg b/setup.cfg index 8cb5e51..be25fa7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -36,5 +36,8 @@ all_files = 1 [upload_sphinx] upload-dir = doc/build/html +[pbr] +warnerrors = True + [wheel] universal = 1