File: use-packaged-mathjax.patch

package info (click to toggle)
sphinx-book-theme 1.1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,100 kB
  • sloc: python: 1,302; javascript: 170; makefile: 56; sh: 8
file content (19 lines) | stat: -rw-r--r-- 629 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: Dmitry Shachnev <mitya57@debian.org>
Date: Sun, 22 Dec 2024 19:41:54 +0300
Subject: Use packaged mathjax

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

diff --git a/docs/conf.py b/docs/conf.py
index b0fcc74..281f52b 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -202,3 +202,5 @@ if not path_content_file.exists():
         content = content.replace("../examples/pydata.ipynb", "notebooks.md")
         # Write to disk in a location that will be ignored by git
         path_content_file.write_text(content)
+
+mathjax_path = "file:///usr/share/nodejs/mathjax-full/es5/tex-mml-chtml.js"