summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2018-04-19 11:28:19 -0400
committerBen Gamari <ben@smart-cactus.org>2018-04-19 11:28:30 -0400
commit803178a5383cdb5383e5b9fedd8feb3d65f9183b (patch)
tree0532cc8dd06841ee5ff78430d029c28feffad723 /docs
parent19ddd04474a7bf7cff9c5a971cb908c7c06f100a (diff)
downloadhaskell-803178a5383cdb5383e5b9fedd8feb3d65f9183b.tar.gz
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
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/conf.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/users_guide/conf.py b/docs/users_guide/conf.py
index ef7b9d51ba..0732c5ccd4 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.