File: Use-the-packaged-MathJax.patch

package info (click to toggle)
python-asdf 4.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 7,032 kB
  • sloc: python: 24,068; makefile: 123
file content (21 lines) | stat: -rw-r--r-- 697 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
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 8ab1f1f..c36894b 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -81,6 +81,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)