File: sphinx_support_mathjax.patch

package info (click to toggle)
bioxtasraw 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 275,072 kB
  • sloc: python: 74,496; makefile: 29; sh: 21
file content (21 lines) | stat: -rw-r--r-- 627 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: Neil Williams <codehelp@debian.org>
Date: Tue, 22 Mar 2022 08:48:09 +0000
Subject: Prevent privacy breach from mathjs

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

diff --git a/docs/source/conf.py b/docs/source/conf.py
index 2d3943e..cc9719b 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -20,6 +20,8 @@
 import os
 on_rtd = os.environ.get('READTHEDOCS') == 'True'
 
+mathjax_path = 'file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
+
 raw_path = os.path.abspath(os.path.join('..', '..'))
 if raw_path not in os.sys.path:
     os.sys.path.append(raw_path)