From d7dd30a63104143981f3662a647713670b2b566a Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Mon, 7 Aug 2017 16:22:17 +0100 Subject: [PATCH] Use Sphinx 1.5 warning-is-error With pbr 2.0 and Sphinx 1.5, the setting for treat sphinx warnings as errors is setting warning-is-error in build_sphinx section. Enable this Change-Id: I3712c681cedae30c189d975f6b319e278c1bd419 --- setup.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index f63d35b7..4c22966b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -103,9 +103,10 @@ setup-hooks = [build_sphinx] builders = html,man +all-files = 1 +warning-is-error = 1 source-dir = doc/source build-dir = doc/build -all_files = 1 [upload_sphinx] upload-dir = doc/build/html