From f45aa9079d0f24467af3da3f0023ceef267ee7ad Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Thu, 16 Mar 2017 16:53:33 +0000 Subject: [PATCH] Use Sphinx 1.5 warning-is-error This will ensure doc warnings don't make their way in. Change-Id: I9a007ad89f3a2219feb960fee858bf70c1643416 --- setup.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index cadbe72df9..3bd484ce97 100644 --- a/setup.cfg +++ b/setup.cfg @@ -696,9 +696,10 @@ autodoc_tree_excludes = openstackclient/tests/* [build_sphinx] +all-files = 1 +warning-is-error = 1 source-dir = doc/source build-dir = doc/build -all_files = 1 [upload_sphinx] upload-dir = doc/build/html