File: docs_local_mathjax.patch

package info (click to toggle)
fenics-dolfinx 1%3A0.9.0-8
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,304 kB
  • sloc: cpp: 33,643; python: 22,329; makefile: 234; sh: 173; xml: 55
file content (22 lines) | stat: -rw-r--r-- 901 bytes parent folder | download | duplicates (2)
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