HTML documentation now loads MathJax from CDN

Privacy warning: if scripts are enabled, then you are subject to the normal
tracking risks of loading external scripts.  If this is from your own domain
or local filesystem, then you may be leaking personal information.

In the future, KaTeX may be used.
master
Mike Gerwitz 2015-04-16 13:34:35 -04:00
parent 9b0512b0f4
commit 6f88551b6a
1 changed files with 9 additions and 0 deletions

View File

@ -35,5 +35,14 @@ xsltexis: $(stexi)
-xsl:"$(path_tools)/literate-xsl/src/texinfo.xsl" \
"$<" > "$@"
# Privacy warning: if scripts are enabled, then you are subject to the
# normal tracking risks of loading external scripts. If this is from your
# own domain or local filesystem, then you may be leaking personal
# information.
html-local:
find tame.html/ -name '*.html' -type f \
| xargs sed -i \
's#\(<script.*\)\?</body>#<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script></body>#'
clean-local:
-rm -f $(stexi)