File: 0001-sphinx-local-mathjax.patch

package info (click to toggle)
python-bumps 1.0.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,200 kB
  • sloc: python: 24,517; xml: 493; ansic: 373; makefile: 211; javascript: 99; sh: 94
file content (22 lines) | stat: -rw-r--r-- 646 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
22
From: Stuart Prescott <stuart@debian.org>
Date: Fri, 26 Sep 2025 15:55:44 +1000
Subject: Switch to local mathjax for documentation

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

diff --git a/doc/conf.py b/doc/conf.py
index 2043c5c..04e6ea5 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -233,6 +233,8 @@ htmlhelp_basename = "Bumps"
 
 program_title = "Bumps: Curve Fitting and Uncertainty Analysis"
 
+mathjax_path = '/usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
+
 # -- Options for LaTeX output --------------------------------------------------
 
 # The paper size ('letter' or 'a4').