[commit: ghc] ghc-8.4: users-guide: Override mathjax_path (da3ed4d)
git at git.haskell.org
git at git.haskell.org
Sun May 20 18:36:04 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-8.4
Link : http://ghc.haskell.org/trac/ghc/changeset/da3ed4d4e90afe96a6071891e53f9db2d0f764f9/ghc
>---------------------------------------------------------------
commit da3ed4d4e90afe96a6071891e53f9db2d0f764f9
Author: Ben Gamari <bgamari.foss at gmail.com>
Date: Thu Apr 19 11:28:19 2018 -0400
users-guide: Override mathjax_path
The Mathjax CDN no longer exists. Use CDNJS instead.
See #15006.
Test Plan: Build HTML users guide, see whether math is rendered.
Reviewers: alpmestan
Reviewed By: alpmestan
Subscribers: thomie, carter
GHC Trac Issues: #15006
Differential Revision: https://phabricator.haskell.org/D4603
(cherry picked from commit 803178a5383cdb5383e5b9fedd8feb3d65f9183b)
>---------------------------------------------------------------
da3ed4d4e90afe96a6071891e53f9db2d0f764f9
docs/users_guide/conf.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/docs/users_guide/conf.py b/docs/users_guide/conf.py
index ef7b9d5..0732c5c 100644
--- a/docs/users_guide/conf.py
+++ b/docs/users_guide/conf.py
@@ -57,6 +57,9 @@ html_use_smartypants = True
html_use_opensearch = 'https://downloads.haskell.org/~ghc/master/users-guide'
html_show_copyright = True
+# See GHC #15006
+mathjax_path = 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js'
+
# If true, an OpenSearch description file will be output, and all pages will
# contain a <link> tag referring to it. The value of this option must be the
# base URL from which the finished HTML is served.
More information about the ghc-commits
mailing list