mirror of https://github.com/CGAL/cgal
let doxygen decide what is MATHJAX_RELPATH by default
This commit is contained in:
parent
f10f072139
commit
5e81643b53
|
|
@ -185,8 +185,11 @@ function(configure_doxygen_package CGAL_PACKAGE_NAME)
|
|||
endfunction()
|
||||
|
||||
# set up the directories and variables
|
||||
set(CGAL_DOC_MATHJAX_LOCATION "https://cdn.mathjax.org/mathjax/latest"
|
||||
CACHE STRING "The location of MathJax to be used for the documentation.")
|
||||
if (CGAL_DOC_MATHJAX_LOCATION)
|
||||
set(CGAL_DOC_MATHJAX_LOCATION_FULL_OPTION_LINE "MATHJAX_RELPATH = ${CGAL_DOC_MATHJAX_LOCATION}")
|
||||
else()
|
||||
set(CGAL_DOC_MATHJAX_LOCATION "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2")
|
||||
endif()
|
||||
|
||||
set(CGAL_DOC_OUTPUT_DIR "${CMAKE_BINARY_DIR}/doc_output")
|
||||
file(MAKE_DIRECTORY "${CGAL_DOC_OUTPUT_DIR}")
|
||||
|
|
|
|||
|
|
@ -1571,7 +1571,7 @@ MATHJAX_FORMAT = HTML-CSS
|
|||
# The default value is: http://cdn.mathjax.org/mathjax/latest.
|
||||
# This tag requires that the tag USE_MATHJAX is set to YES.
|
||||
|
||||
MATHJAX_RELPATH = ${CGAL_DOC_MATHJAX_LOCATION}
|
||||
${CGAL_DOC_MATHJAX_LOCATION_FULL_OPTION_LINE}
|
||||
|
||||
# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
|
||||
# extension names that should be enabled during MathJax rendering. For example
|
||||
|
|
|
|||
|
|
@ -1569,7 +1569,7 @@ MATHJAX_FORMAT = HTML-CSS
|
|||
# The default value is: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/.
|
||||
# This tag requires that the tag USE_MATHJAX is set to YES.
|
||||
|
||||
MATHJAX_RELPATH = ${CGAL_DOC_MATHJAX_LOCATION}
|
||||
${CGAL_DOC_MATHJAX_LOCATION_FULL_OPTION_LINE}
|
||||
|
||||
# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
|
||||
# extension names that should be enabled during MathJax rendering. For example
|
||||
|
|
|
|||
Loading…
Reference in New Issue