From 421fce97e114fda65dcfdac0ee891fa4915fbaf2 Mon Sep 17 00:00:00 2001
From: Joseph Weston <joseph.weston08@gmail.com>
Date: Mon, 24 Apr 2017 15:05:26 +0200
Subject: [PATCH] doc: switch to an alternative Mathjax CDN

The Mathjax CDN is shutting down:
https://www.mathjax.org/cdn-shutting-down/

Closes #116.
---
 doc/source/conf.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/doc/source/conf.py b/doc/source/conf.py
index 6aa89b7b..265357df 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -267,3 +267,7 @@ nitpick_ignore = [('py:class', 'Warning'), ('py:class', 'Exception'),
                   ('py:class', 'kwant.operator._LocalOperator'),
                   ('py:class', 'numpy.ndarray'),
                   ('py:class', 'kwant.solvers.common.BlockResult')]
+
+
+# Use custom MathJax CDN, as cdn.mathjax.org will soon shut down
+mathjax_path = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
-- 
GitLab