From 66a72a1bc7c82a0d09b7d08ee5af8ed4a9aa8fd3 Mon Sep 17 00:00:00 2001 From: Dong Ma Date: Fri, 7 Jul 2017 00:10:38 +0800 Subject: [PATCH] turn on warning-is-error in doc build Change-Id: Iad1ac75bfe1a29350d23014f0b7345d3e8f76c41 --- doc/source/conf.py | 2 +- setup.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index bc2823cb..4fb914e3 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -85,6 +85,6 @@ latex_documents = [ intersphinx_mapping = { 'python': ('https://docs.python.org/', None), - 'osloconfig': ('http://docs.openstack.org/developer/oslo.config/', None), + 'osloconfig': ('http://docs.openstack.org/oslo.config/latest/', None), 'dogpilecache': ('https://dogpilecache.readthedocs.io/en/latest/', None), } diff --git a/setup.cfg b/setup.cfg index edb7f0cb..1cfebb31 100644 --- a/setup.cfg +++ b/setup.cfg @@ -41,7 +41,6 @@ etcd3gw = etcd3gw>=0.1.0 # Apache-2.0 [pbr] -warnerrors = true autodoc_tree_index_modules = True api_doc_dir = reference/api @@ -49,6 +48,7 @@ api_doc_dir = reference/api source-dir = doc/source build-dir = doc/build all_files = 1 +warning-is-error = 1 [upload_sphinx] upload-dir = doc/build/html