From e6764d4010a86cf6b49012daeab1c4f546b9e13e Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Thu, 16 Mar 2017 14:51:04 +0000 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. Migrate the setting from the old warnerrors one. No bugs in this one. Good work guys! Change-Id: I0c5020a8758918dc45fad49220aecb54af599322 --- setup.cfg | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/setup.cfg b/setup.cfg index 105206b..1d66ad9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -22,13 +22,11 @@ classifier = packages = oslo_serialization -[pbr] -warnerrors = true - [build_sphinx] +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