summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2017-04-19 10:19:46 +0100
committerStephen Finucane <sfinucan@redhat.com>2017-04-20 13:57:16 +0100
commit6b7b018cb6b8c3884b34da1769406b0d65867df7 (patch)
treefadde3881dd8e653dd7e5fd6df2a465fcec17815 /setup.cfg
parenteaa5db38d301ad34a37ec098b70bfa74c5e9f803 (diff)
downloadpython-designateclient-6b7b018cb6b8c3884b34da1769406b0d65867df7.tar.gz
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. This involves a couple of changes to the docs to fix the now broken build. Change-Id: I9bee7f6f9c69a9ed7bb22325ad1a0a1316dde526
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup.cfg b/setup.cfg
index 15be89b..89058e0 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -149,7 +149,8 @@ openstack.dns.v2 =
[build_sphinx]
builders = html,man
-all_files = 1
+all-files = 1
+warning-is-error = 1
build-dir = doc/build
source-dir = doc/source
@@ -177,4 +178,3 @@ universal = 1
[pbr]
autodoc_index_modules = True
-warnerrors = True