aboutsummaryrefslogtreecommitdiffstats
path: root/host/docs/Doxyfile.in
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2022-02-19 23:55:15 +0100
committerAaron Rossetto <aaron.rossetto@ni.com>2022-02-24 13:38:05 -0600
commitf561910e3c1514eea9e08a22e83d8da22ff09242 (patch)
tree81788a79defe35465537d95ce9df227d9ab055f9 /host/docs/Doxyfile.in
parentb170ec5d755b955196902d687e1614cb2ea46803 (diff)
downloaduhd-f561910e3c1514eea9e08a22e83d8da22ff09242.tar.gz
uhd-f561910e3c1514eea9e08a22e83d8da22ff09242.tar.bz2
uhd-f561910e3c1514eea9e08a22e83d8da22ff09242.zip
cmake: doxygen: Make MATHJAX_RELPATH configurable via CMake
This is a Doxygen setting where to find MathJax. The default might not be suitable for everyone, and in particular, if people already have MJ installed on their local system, they might prefer using that instead of an online one. Example usage: Assume you have MathJax installed locally, e.g., through the mathjax package on Fedora, or the libjs-mathjax package on Debian/Ubuntu. Then you could build UHD as such: cmake -DMATHJAX_RELPATH=/usr/share/javascript/mathjax This will now use the local version. Note that locally generated HTML documentation can now no longer be copied to other machines, unless they also have MathJax installed to the same path.
Diffstat (limited to 'host/docs/Doxyfile.in')
-rw-r--r--host/docs/Doxyfile.in2
1 files changed, 1 insertions, 1 deletions
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