Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
5263efc5
Commit
5263efc5
authored
Sep 16, 2021
by
Peterson, Peter
Browse files
Turn off -W option due to intersphinx
parent
3ff1fa34
Changes
2
Hide whitespace changes
Inline
Side-by-side
dev-docs/CMakeLists.txt
View file @
5263efc5
...
...
@@ -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"
)
...
...
docs/CMakeLists.txt
View file @
5263efc5
...
...
@@ -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
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment