File: 007.use-packaged-mathjax.patch

package info (click to toggle)
pydata-sphinx-theme 0.16.1%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,084 kB
  • sloc: python: 2,796; javascript: 701; makefile: 42; sh: 12
file content (22 lines) | stat: -rw-r--r-- 655 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
From: Dmitry Shachnev <mitya57@debian.org>
Date: Sat, 1 Feb 2025 16:47:22 +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 bb659e2..1ac6483 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -237,6 +237,8 @@ html_css_files = ["custom.css"]
 html_js_files = ["pydata-icon.js"]
 todo_include_todos = True
 
+mathjax_path = "file:///usr/share/nodejs/mathjax-full/es5/tex-mml-chtml.js"
+
 # -- favicon options ---------------------------------------------------------
 
 # see https://sphinx-favicon.readthedocs.io for more information about the