From 900cd1a4f79e9fcc74728d295c5b68b54d8d119e Mon Sep 17 00:00:00 2001
From: Joseph Weston <joseph@weston.cloud>
Date: Thu, 11 Jul 2019 16:13:39 +0200
Subject: [PATCH] configure thebelab

---
 doc/source/conf.py | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/doc/source/conf.py b/doc/source/conf.py
index 80dfdef1..ccec9856 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -107,6 +107,15 @@ pygments_style = 'sphinx'
 # Do not show all class members automatically in the class documentation
 numpydoc_show_class_members = False
 
+# Jupyter Sphinx config
+
+jupyter_sphinx_thebelab_config = {
+    "binderOptions": {
+        "repo": "kwant-project/binder",
+        "ref": "master",
+    }
+}
+
 # -- Options for HTML output ---------------------------------------------------
 
 # The theme to use for HTML and HTML Help pages.  Major themes that come with
-- 
GitLab