From 6849cc4ef93b27a9bcc272798c5f276e47467920 Mon Sep 17 00:00:00 2001 From: Dong Ma Date: Wed, 28 Jun 2017 08:58:23 +0800 Subject: [PATCH] Turn on warning-is-error in sphinx build Turn on the flag to ensure that future warnings in the doc build trigger a build failure. Change-Id: Ib2958d90503c8f4206a45abf225a3dd87af2796e --- setup.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.cfg b/setup.cfg index 2d078b7..857ab3c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -34,6 +34,7 @@ console_scripts = source-dir = doc/source build-dir = doc/build all_files = 1 +warning-is-error = 1 [upload_sphinx] upload-dir = doc/build/html