1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
From: Ghislain Antony Vaillant <ghisvail@gmail.com>
Date: Sat, 15 Apr 2017 16:01:30 +0100
Subject: Use packaged MathJax
Last-Updated: 2024-11-06
Forwarded: not-needed
Updated by Alastair McKinstry <mckinstry@debian.org>:
- set URL
---
doc/conf.py | 4 ++++
1 file changed, 4 insertions(+)
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -185,6 +185,10 @@
# mermaid config
mermaid_version = "11.6.0"
+mathjax_path = 'file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
+
+require_js_url = 'file:////usr/share/javascript/requirejs/require.min.js'
+
# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates", sphinx_autosummary_accessors.templates_path]
|