File: 0002-Switch-to-local-mathjax-for-documentation.patch

package info (click to toggle)
sasmodels 1.0.11-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,444 kB
  • sloc: python: 26,150; ansic: 8,036; makefile: 150; sh: 50
file content (21 lines) | stat: -rw-r--r-- 617 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Stuart Prescott <stuart@debian.org>
Date: Tue, 4 Feb 2025 20:58:09 +1100
Subject: Switch to local mathjax for documentation

---
 doc/conf.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/doc/conf.py b/doc/conf.py
index 492f5b8..5cb3143 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -220,6 +220,8 @@ html_show_sourcelink = False
 # Output file base name for HTML help builder.
 htmlhelp_basename = 'sasmodelsdoc'
 
+# Use the packaged copy of MathJax
+mathjax_path = 'mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
 
 # -- Options for LaTeX output --------------------------------------------------