aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/Doxyfile.in
diff options
context:
space:
mode:
authorGravatar Martin Vonheim Larsen <6857165-martinvl@users.noreply.gitlab.com>2020-11-16 12:59:13 +0000
committerGravatar David Tellenbach <david.tellenbach@me.com>2020-11-16 12:59:13 +0000
commit280f4f2407ffdf93488de7e95ca6e31fff770f21 (patch)
treee6ec5d8361d16be239ce5f4e61dedc16ec9bf23a /doc/Doxyfile.in
parentbb69a8db5da21f3c6b289d010eaa64e757387dca (diff)
Enable MathJax in Doxygen.in
Note that HTTPS must be used against the MathJax CDN when hosted on `eigen.tuxfamily.org` (which uses HTTPS) in order to avoid `Mixed Content`-errors from browsers. Using HTTPS for MathJax also works if the Eigen docs are hosted on plain HTTP.
Diffstat (limited to 'doc/Doxyfile.in')
-rw-r--r--doc/Doxyfile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in
index 72120f1f1..ddfd7e87f 100644
--- a/doc/Doxyfile.in
+++ b/doc/Doxyfile.in
@@ -1246,7 +1246,7 @@ FORMULA_TRANSPARENT = YES
# output. When enabled you may also need to install MathJax separately and
# configure the path to it using the MATHJAX_RELPATH option.
-USE_MATHJAX = NO
+USE_MATHJAX = @EIGEN_DOXY_USE_MATHJAX@
# When MathJax is enabled you need to specify the location relative to the
# HTML output directory using the MATHJAX_RELPATH option. The destination
@@ -1258,12 +1258,12 @@ USE_MATHJAX = NO
# However, it is strongly recommended to install a local
# copy of MathJax from http://www.mathjax.org before deployment.
-MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest
+MATHJAX_RELPATH = https://cdn.mathjax.org/mathjax/latest
# The MATHJAX_EXTENSIONS tag can be used to specify one or MathJax extension
# names that should be enabled during MathJax rendering.
-MATHJAX_EXTENSIONS =
+MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols
# When the SEARCHENGINE tag is enabled doxygen will generate a search box
# for the HTML output. The underlying search engine uses javascript