From 182beca13de5e4538d47b094a81ccfb7cdc06ec3 Mon Sep 17 00:00:00 2001
From: Joseph Weston <joseph@weston.cloud>
Date: Thu, 2 May 2019 15:08:15 +0200
Subject: [PATCH] install jupyter-sphinx when building documentation

---
 .gitlab-ci.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ffffe78d..326cf3e3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -239,6 +239,8 @@ build documentation:
     - build:latest
   stage: test
   script:
+    - pip install git+https://github.com/jupyter-widgets/jupyter-sphinx
+    - python -m ipykernel install --user --name kwant-latest
     - make -C doc realclean; make -C doc html SPHINXOPTS='-A website_deploy=True -n -W' SOURCE_LINK_TEMPLATE="$CI_PROJECT_URL"/blob/\$\$r/\$\$f
   artifacts:
     paths:
@@ -251,6 +253,8 @@ build PDF documentation:
     - build:latest
   stage: test
   script:
+    - pip install git+https://github.com/jupyter-widgets/jupyter-sphinx
+    - python -m ipykernel install --user --name kwant-latest
     - make -C doc latex SPHINXOPTS='-n -W'
     - cd doc/build/latex
     - make all-pdf
-- 
GitLab