Commit 5263efc5 authored by Peterson, Peter's avatar Peterson, Peter
Browse files

Turn off -W option due to intersphinx

parent 3ff1fa34
......@@ -8,11 +8,11 @@ set(DOCTREE_DIR ${CMAKE_CURRENT_BINARY_DIR}/doctree)
# We try to execute Sphinx directly through python -m to avoid problems with the
# startup scripts on Windows. They are not always reliable as they can have
# hardcoded paths in them.
# -W turns warnings into errors
# -W turns warnings into errors, but there is an issue with getting the numpy intersphinx
add_custom_target(dev-docs-${BUILDER}
COMMAND ${Python_EXECUTABLE} -m ${SPHINX_MAIN} ${SPHINX_NO_COLOR}
-w dev_docs_warnings.txt
-W ${SPHINX_KEEPGOING} -b ${BUILDER}
${SPHINX_KEEPGOING} -b ${BUILDER}
-d ${DOCTREE_DIR} ${CMAKE_CURRENT_LIST_DIR}/source
${OUT_DIR}
COMMENT "Building html developer documentation")
......
......@@ -49,8 +49,8 @@ function (add_sphinx_build_target builder math_renderer)
set(conf_builder ${SPHINX_CONF_DIR}/conf-${builder}.py)
endif()
# -W turns warnings into errors
set(sphinx_options -W ${SPHINX_NOCOLOR} ${SPHINX_KEEPGOING} -b ${builder} -d ${DOCTREES_DIR})
# -W turns warnings into errors, but there is an issue with getting the numpy intersphinx
set(sphinx_options ${SPHINX_NOCOLOR} ${SPHINX_KEEPGOING} -b ${builder} -d ${DOCTREES_DIR})
# add a tag to differentiate between html/qthelp in conf
if(ARGC GREATER 3)
set(sphinx_options ${sphinx_options} -t ${ARGV3})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment