Commit 370fe1b0 authored by Jan Oliver Oelerich's avatar Jan Oliver Oelerich

Fixed Sphinx build to work with Read the docs

parent 7345348c
......@@ -11,13 +11,13 @@ add_custom_target(docs-source
COMMENT "Generating API documentation with Doxygen")
add_custom_target(docs-manual
COMMAND sphinx-build -c ${CMAKE_CURRENT_SOURCE_DIR} -b html ${PROJECT_SOURCE_DIR}/docs/src manual
COMMAND sphinx-build -c ${CMAKE_CURRENT_SOURCE_DIR} -b html ${PROJECT_SOURCE_DIR}/docs manual
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Build html documentation"
VERBATIM)
add_custom_target(docs-manual-tex
COMMAND sphinx-build -c ${CMAKE_CURRENT_SOURCE_DIR} -b latex ${PROJECT_SOURCE_DIR}/docs/src manual-tex
COMMAND sphinx-build -c ${CMAKE_CURRENT_SOURCE_DIR} -b latex ${PROJECT_SOURCE_DIR}/docs manual-tex
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Build html documentation"
VERBATIM)
\ No newline at end of file
......@@ -42,7 +42,7 @@ extensions = ['sphinx.ext.mathjax']
source_suffix = '.rst'
# The master toctree document.
master_doc = 'src/index'
master_doc = 'index'
def get_version_from_cmakelists():
info = {}
......
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