diff options
Diffstat (limited to 'host/docs')
-rw-r--r-- | host/docs/CMakeLists.txt | 4 | ||||
-rw-r--r-- | host/docs/Doxyfile.in | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/host/docs/CMakeLists.txt b/host/docs/CMakeLists.txt index 2b91fd4df..9f6b1eb2b 100644 --- a/host/docs/CMakeLists.txt +++ b/host/docs/CMakeLists.txt @@ -42,6 +42,10 @@ LIBUHD_REGISTER_COMPONENT("API/Doxygen" ENABLE_DOXYGEN ON "DOXYGEN_FOUND" OFF OF option(ENABLE_DOXYGEN_FULL "Use Doxygen to document the entire source tree (not just API)" OFF) option(ENABLE_DOXYGEN_DOT "Let Doxygen use dot (requires graphviz)" OFF) option(ENABLE_DOXYGEN_SHORTNAMES "Let Doxygen use shorter filenames (helps on Windows)" OFF) +set( + MATHJAX_RELPATH https://cdn.jsdelivr.net/npm/mathjax@2/ + CACHE STRING "MATHJAX_RELPATH option for Doxygen") +mark_as_advanced(MATHJAX_RELPATH) if(LIBUHDDEV_PKG) set(PKG_DOC_DIR share/doc/libuhd-dev) diff --git a/host/docs/Doxyfile.in b/host/docs/Doxyfile.in index fef2b8c0e..2a15c1cf6 100644 --- a/host/docs/Doxyfile.in +++ b/host/docs/Doxyfile.in @@ -1620,7 +1620,7 @@ MATHJAX_FORMAT = HTML-CSS # The default value is: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/. # This tag requires that the tag USE_MATHJAX is set to YES. -MATHJAX_RELPATH = https://cdn.jsdelivr.net/npm/mathjax@2/ +MATHJAX_RELPATH = @MATHJAX_RELPATH@ # The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax # extension names that should be enabled during MathJax rendering. For example |