From 124e6f82afc97bd6e37241b92a3a104e0362b0f4 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Thu, 16 Mar 2017 15:55:17 +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 warnings on this one. Nice work, guys. Change-Id: I6d95e43c3321e783baebf10891d65b59b2ccd0fe --- setup.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 07ab2d13..745b8e3d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -33,9 +33,10 @@ tag_date = 0 tag_svn_revision = 0 [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