File: docs_local_mathjax.patch

package info (click to toggle)
fenics-dolfinx 1%3A0.10.0.post3-1exp5
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 6,012 kB
  • sloc: cpp: 36,535; python: 25,391; makefile: 223; sh: 171; xml: 55
file content (26 lines) | stat: -rw-r--r-- 1,330 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Index: fenics-dolfinx/python/doc/source/conf.py
===================================================================
--- fenics-dolfinx.orig/python/doc/source/conf.py	2025-11-12 15:50:05.820499642 +0100
+++ fenics-dolfinx/python/doc/source/conf.py	2025-11-12 15:50:05.809750470 +0100
@@ -48,6 +48,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 = {
Index: fenics-dolfinx/cpp/doc/Doxyfile
===================================================================
--- fenics-dolfinx.orig/cpp/doc/Doxyfile	2025-11-12 15:50:05.820499642 +0100
+++ fenics-dolfinx/cpp/doc/Doxyfile	2025-11-12 15:50:05.810944188 +0100
@@ -1763,7 +1763,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