From 4c73762f763a2e26aec647084ae601b11fa5d5d1 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Thu, 24 Sep 2015 21:46:10 -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: I508d93249c5243b0068fe71ccb1726441a64d145 --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.cfg b/setup.cfg index 44ef60cd..d81029f0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -40,5 +40,8 @@ all_files = 1 [upload_sphinx] upload-dir = doc/build/html +[pbr] +warnerrors = True + [wheel] universal = 1