From 9ef3e43489083d142352c00514d78b48ba6718ff Mon Sep 17 00:00:00 2001 From: Andreas Scheuring Date: Tue, 10 Apr 2018 12:28:04 +0200 Subject: [PATCH] Docs build: Treat warning as error Let's treat warnings as errors. Typical warnings are not existing link targets, missing toctree entry,... Change-Id: Ic7b70026ef508cd0c41be4fc35435bc15e429916 --- doc/source/getting_started.rst | 4 ++-- doc/source/image/rhel7/rhel7_image.rst | 2 +- setup.cfg | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/source/getting_started.rst b/doc/source/getting_started.rst index 1638ed9..eba9a91 100644 --- a/doc/source/getting_started.rst +++ b/doc/source/getting_started.rst @@ -49,8 +49,8 @@ The following actions are done for the compute node. assign to a single instance? .. note:: - OpenStack does *not* use those processors exclusively. These processors - are still shared with non-OpenStack partitions. + OpenStack does *not* use those processors exclusively. These processors + are still shared with non-OpenStack partitions. * What is the maximum amount of memory that can be consumed by all OpenStack instances on this CEC? diff --git a/doc/source/image/rhel7/rhel7_image.rst b/doc/source/image/rhel7/rhel7_image.rst index d1dd187..1aa27b5 100755 --- a/doc/source/image/rhel7/rhel7_image.rst +++ b/doc/source/image/rhel7/rhel7_image.rst @@ -83,7 +83,7 @@ This package is required for growing the filesystem. * install it:: - rpm -i cloud-utils-growpart-0.27-9.fc20.noarch.rpm + rpm -i cloud-utils-growpart-0.27-9.fc20.noarch.rpm Add the RHEL7.3 yum repository diff --git a/setup.cfg b/setup.cfg index b278c1f..539c18c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -28,6 +28,7 @@ packages = source-dir = doc/source build-dir = doc/build all_files = 1 +warning-is-error = 1 [upload_sphinx] upload-dir = doc/build/html