File: 0002-Use-local-mathjax.patch

package info (click to toggle)
pyepr 1.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,092 kB
  • sloc: python: 2,968; makefile: 128
file content (24 lines) | stat: -rw-r--r-- 699 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
23
24
From: Antonio Valentino <antonio.valentino@tiscali.it>
Date: Mon, 7 Apr 2025 08:29:15 +0000
Subject: Use local mathjax

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

diff --git a/docs/conf.py b/docs/conf.py
index b9e4003..317f206 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -100,8 +100,9 @@ html_context = {
     "github_user": "avalentino",
     "github_repo": "pyepr",
     "github_version": "master",
-    "conf_py_path": "/doc/",
+    "conf_py_path": "/docs/",
 }
+mathjax_path = "file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
 
 # -- Options for HTMLHelp output ------------------------------------------