File: Use-the-packaged-MathJax.patch

package info (click to toggle)
python-asdf 4.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 7,016 kB
  • sloc: python: 23,721; makefile: 123
file content (21 lines) | stat: -rw-r--r-- 697 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: Ole Streicher <olebole@debian.org>
Date: Fri, 27 Oct 2017 10:28:23 -0300
Subject: Use the packaged MathJax

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

diff --git a/docs/conf.py b/docs/conf.py
index 0d5890d..c364801 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -80,6 +80,8 @@ intersphinx_mapping.update(subprojects)  # noqa: F405
 
 extensions += ["sphinx_inline_tabs", "sphinx.ext.intersphinx", "sphinx.ext.extlinks"]  # noqa: F405
 
+mathjax_path = 'file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
+
 html_theme = "furo"
 html_static_path = ["_static"]
 # Override default settings from sphinx_asdf / sphinx_astropy (incompatible with furo)