Browse code

install jupyter-sphinx when building documentation

Joseph Weston authored on 02/05/2019 15:08:15
Showing 1 changed files
... ...
@@ -239,6 +239,8 @@ build documentation:
239 239
     - build:latest
240 240
   stage: test
241 241
   script:
242
+    - pip install git+https://github.com/jupyter-widgets/jupyter-sphinx
243
+    - python -m ipykernel install --user --name kwant-latest
242 244
     - make -C doc realclean; make -C doc html SPHINXOPTS='-A website_deploy=True -n -W' SOURCE_LINK_TEMPLATE="$CI_PROJECT_URL"/blob/\$\$r/\$\$f
243 245
   artifacts:
244 246
     paths:
... ...
@@ -251,6 +253,8 @@ build PDF documentation:
251 253
     - build:latest
252 254
   stage: test
253 255
   script:
256
+    - pip install git+https://github.com/jupyter-widgets/jupyter-sphinx
257
+    - python -m ipykernel install --user --name kwant-latest
254 258
     - make -C doc latex SPHINXOPTS='-n -W'
255 259
     - cd doc/build/latex
256 260
     - make all-pdf