File: docs_use_local_mathjax.patch

package info (click to toggle)
mdtraj 1.11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 79,324 kB
  • sloc: python: 25,217; ansic: 6,266; cpp: 5,685; xml: 1,252; makefile: 192
file content (17 lines) | stat: -rw-r--r-- 676 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: Drew Parsons
Last-Update: 2022-01-01 19:05:14 +0100
Description: use local mathjax

Index: mdtraj/docs/conf.py
===================================================================
--- mdtraj.orig/docs/conf.py	2025-08-11 10:57:02.444584763 +0200
+++ mdtraj/docs/conf.py	2025-08-11 10:57:02.432584560 +0200
@@ -27,6 +27,8 @@
 # If your documentation needs a minimal Sphinx version, state it here.
 # needs_sphinx = '1.0'
 
+mathjax_path = 'file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
+
 # Add any Sphinx extension module names here, as strings. They can be
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
 # ones.