File: local-mathjax.diff

package info (click to toggle)
ogre-1.12 1.12.10%2Bdfsg2-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 38,248 kB
  • sloc: cpp: 296,806; ansic: 46,900; lex: 3,682; yacc: 1,589; python: 1,297; makefile: 76; sh: 5
file content (15 lines) | stat: -rw-r--r-- 640 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Subject: Use MathJax from libjs-mathjax instead of remote CDN
Author: Simon Schmeisser <s.schmeisser@gmx.net>
Forwarded: not-needed

--- a/CMake/Templates/html.cfg.in
+++ b/CMake/Templates/html.cfg.in
@@ -1087,7 +1087,7 @@
 # However, it is strongly recommended to install a local
 # copy of MathJax from http://www.mathjax.org before deployment.
 
-MATHJAX_RELPATH        = https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0
+MATHJAX_RELPATH        = file:///usr/share/javascript/mathjax/MathJax.js
 
 # The MATHJAX_EXTENSIONS tag can be used to specify one or MathJax extension
 # names that should be enabled during MathJax rendering.