From f5a0f6ff85315d691002783c0eb4524e7082879d Mon Sep 17 00:00:00 2001 From: Dong Ma Date: Sat, 24 Jun 2017 23:09: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: Ibb59a40ec8f1bbd9520e0edb07360332d5701f5b --- setup.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.cfg b/setup.cfg index 6897d2c..e165a6d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -38,6 +38,7 @@ subunit2sql.targets:attach_local = subunit2sql.targets.localdir.AttachmentsDir source-dir = doc/source build-dir = doc/build all_files = 1 +warning-is-error = 1 [upload_sphinx] upload-dir = doc/build/html