From 7e209b97675c1a2ba68c61f69d9f594d4c7b48e9 Mon Sep 17 00:00:00 2001 From: Gage Hugo Date: Wed, 1 Mar 2017 13:51:22 -0600 Subject: Added "warning-is-error" sphinx check for docs This change adds the "warning-is-error" setting to setup.cfg in order to enforce strict doc validation which will cause the build to fail if any warnings are thrown. This also removes the redundant loading of the todo plugin warning that shows up while running 'tox -e docs' with 'warning-is-error' enabled. Change-Id: I33c110073feec7dd38ab75981d6f97c654852f37 --- setup.cfg | 1 + 1 file changed, 1 insertion(+) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index 232cb18..e9ee1d5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -44,6 +44,7 @@ paste.filter_factory = source-dir = doc/source build-dir = doc/build all_files = 1 +warning-is-error = 1 [pbr] autodoc_tree_index_modules = True -- cgit v1.2.1