[commit: ghc] master: users-guide: Override mathjax_path (803178a)

git at git.haskell.org git at git.haskell.org
Thu Apr 19 16:24:01 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/803178a5383cdb5383e5b9fedd8feb3d65f9183b/ghc

>---------------------------------------------------------------

commit 803178a5383cdb5383e5b9fedd8feb3d65f9183b
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


>---------------------------------------------------------------

803178a5383cdb5383e5b9fedd8feb3d65f9183b
 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