FROM ${RELENG_PATH}/docs TO dev-manual/releng PREFIX releng/docs/
FILES ${RELENG_SPHINX_FILES})
else()
- gmx_add_dummy_sphinx_input_file(dev-manual/releng/index.rst
- "releng repository (missing)")
+ gmx_add_sphinx_source_files(FILES
+ dev-manual/releng/index.rst
+ dev-manual/releng/jenkins-howto.rst
+ dev-manual/releng/jenkins-ui.rst
+ )
endif()
gmx_add_sphinx_input_target(sphinx-input)
# Remove other rst files from the build tree, since they confuse Sphinx.
set(_SPHINX_INPUT_FILES "${_SPHINX_INPUT_FILES}" PARENT_SCOPE)
endfunction()
-macro(gmx_add_dummy_sphinx_input_file FILEPATH TITLE)
- set(_target ${_SPHINX_INPUT_ROOT}/${FILEPATH})
- set(_underline "=====================================================")
- file(WRITE ${_target} "
-${TITLE}
-${_underline}
-")
- list(APPEND _SPHINX_INPUT_FILES ${_target})
-endmacro()
-
macro(gmx_remove_obsolete_sphinx_input_files IGNORE_PATTERN)
file(GLOB_RECURSE _obsolete_sources ${_SPHINX_INPUT_ROOT}/*.rst)
list(REMOVE_ITEM _obsolete_sources ${_SPHINX_INPUT_FILES})
--- /dev/null
+.. This file is a placeholder that is used in case RELENG_PATH does not
+ identify the location of the releng repository.
+
+.. _releng-workflow-release:
+
+releng repository (missing)
+===========================
+
+.. toctree::
+ :hidden:
+
+ jenkins-howto
+ jenkins-ui
+
+This documentation was built without releng documentation.
+If you want to see this documentation, set ``RELENG_PATH`` CMake variable to
+point to the root of a checkout from the releng repository.