1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
--- a/python/doc/source/conf.py
+++ b/python/doc/source/conf.py
@@ -38,6 +38,8 @@
# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
+mathjax_path = 'file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
+
# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
source_suffix = {
--- a/cpp/doc/Doxyfile
+++ b/cpp/doc/Doxyfile
@@ -1767,7 +1767,7 @@
# - in case of MathJax version 3: https://cdn.jsdelivr.net/npm/mathjax@3
# This tag requires that the tag USE_MATHJAX is set to YES.
-MATHJAX_RELPATH = https://cdn.mathjax.org/mathjax/latest
+MATHJAX_RELPATH = file:///usr/share/javascript/mathjax/MathJax.js
# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
# extension names that should be enabled during MathJax rendering. For example
|