From d9cfd22a0926dda82cc284baac0c5034e5bd4483 Mon Sep 17 00:00:00 2001 From: Madhuri Kumari Date: Thu, 20 Jul 2017 15:23:45 +0530 Subject: [PATCH] Add warning-is-error in setup.cfg This patch adds the ``warning-is-error`` flag in setup.cfg to build documents and also fix failure with the introduction of this flag. Change-Id: I872b6eadae4191a963747636ba356b199b482b2e --- doc/source/contributor/index.rst | 4 ++++ doc/source/readme.rst | 2 +- setup.cfg | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/source/contributor/index.rst b/doc/source/contributor/index.rst index b1cd2f37..f077d28b 100644 --- a/doc/source/contributor/index.rst +++ b/doc/source/contributor/index.rst @@ -1 +1,5 @@ +=================== +Contributor's Guide +=================== + .. include:: ../../../CONTRIBUTING.rst diff --git a/doc/source/readme.rst b/doc/source/readme.rst index 6b2b3ec6..a6210d3d 100644 --- a/doc/source/readme.rst +++ b/doc/source/readme.rst @@ -1 +1 @@ -.. include:: ../README.rst \ No newline at end of file +.. include:: ../../README.rst diff --git a/setup.cfg b/setup.cfg index 679cd060..edb7f9ef 100644 --- a/setup.cfg +++ b/setup.cfg @@ -62,6 +62,7 @@ openstack.container.v1 = source-dir = doc/source build-dir = doc/build all_files = 1 +warning-is-error = 1 [upload_sphinx] upload-dir = doc/build/html