summaryrefslogtreecommitdiffstats
path: root/base/common
diff options
context:
space:
mode:
authorChristian Heimes <cheimes@redhat.com>2016-02-29 09:10:54 +0100
committerChristian Heimes <cheimes@redhat.com>2016-02-29 16:10:55 +0100
commitbcd8373696d6a1262234dd4d17874ac56107b381 (patch)
treef34a1ea5008644ac5d49f6f96f9a90a876f25839 /base/common
parentd5360c915761773e93333b6894df4bd8ac8a2f13 (diff)
downloadpki-bcd8373696d6a1262234dd4d17874ac56107b381.tar.gz
pki-bcd8373696d6a1262234dd4d17874ac56107b381.tar.xz
pki-bcd8373696d6a1262234dd4d17874ac56107b381.zip
Fail builds when sphinx-builder fails
sphinx-builder just reports errors to stderr but doesn't signal build failures in its return code. The -W option turns any warning into a non-null exit code. Comment out html_static_path. It doesn't exist, is not used but emits a warning which is then turned into an error.
Diffstat (limited to 'base/common')
-rw-r--r--base/common/python/CMakeLists.txt2
-rw-r--r--base/common/python/conf.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/base/common/python/CMakeLists.txt b/base/common/python/CMakeLists.txt
index 7c2fad869..d667421bf 100644
--- a/base/common/python/CMakeLists.txt
+++ b/base/common/python/CMakeLists.txt
@@ -19,6 +19,7 @@ add_custom_target(dogtag_python_client_docs ALL
-c "${CMAKE_CURRENT_BINARY_DIR}"
-w "${CMAKE_CURRENT_BINARY_DIR}/python-client-lib-html.log"
-a
+ -W
"${CMAKE_CURRENT_SOURCE_DIR}"
"${CMAKE_CURRENT_BINARY_DIR}/html"
COMMENT "Building Python Client Library HTML documentation")
@@ -29,6 +30,7 @@ add_custom_target(dogtag_python_client_man_docs ALL
-c "${CMAKE_CURRENT_BINARY_DIR}"
-w "${CMAKE_CURRENT_BINARY_DIR}/python-client-lib-man.log"
-a
+ -W
"${CMAKE_CURRENT_SOURCE_DIR}"
"${CMAKE_CURRENT_BINARY_DIR}/man"
COMMENT "Building Python Client Library manual pages")
diff --git a/base/common/python/conf.py b/base/common/python/conf.py
index 0f81c95dc..f076cf919 100644
--- a/base/common/python/conf.py
+++ b/base/common/python/conf.py
@@ -122,7 +122,7 @@ html_theme = 'default'
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = ['_static']
+#html_static_path = ['_static']
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.