Skip to content

Commit f909709

Browse files
committed
Update to nbconvert 6.2
1 parent 61c1db8 commit f909709

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"jupyter_server>=0.3.0,<2.0.0",
9191
"jupyter_client>=6.1.3,<7",
9292
"nbclient>=0.4.0,<0.6",
93-
"nbconvert>=6.0.0,<7",
93+
"nbconvert>=6.2.0,<7",
9494
],
9595
extras_require={
9696
"test": [

share/jupyter/voila/templates/reveal/index.html.j2

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,6 @@
1717
<script src="{{ resources.jquery_url }}"></script>
1818
{%- endblock html_head_js_jquery -%}
1919

20-
{# html_head_css block is missing in the base reveal template #}
21-
{# This can be moved outside of html_head_js as soon as we can require a version of nbconvert includes https://github.com/jupyter/nbconvert/pull/1620 #}
22-
{%- block html_head_css -%}
23-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@^5/css/all.min.css" type="text/css" />
24-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@^5/css/v4-shims.min.css" type="text/css" />
25-
{{ resources.include_css("static/materialcolors.css") }}
26-
{{ resources.include_css("static/labvariables.css") }}
27-
{# super() #}
28-
{%- endblock html_head_css -%}
29-
3020
{% block notebook_execute %}
3121
{%- set kernel_id = kernel_start(nb) -%}
3222
<script id="jupyter-config-data" type="application/json">
@@ -41,6 +31,14 @@
4131

4232
{%- endblock html_head_js -%}
4333

34+
{%- block html_head_css -%}
35+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@^5/css/all.min.css" type="text/css" />
36+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@^5/css/v4-shims.min.css" type="text/css" />
37+
{{ resources.include_css("static/materialcolors.css") }}
38+
{{ resources.include_css("static/labvariables.css") }}
39+
{{ super() }}
40+
{%- endblock html_head_css -%}
41+
4442
{% block body_header %}
4543
<body data-base-url="{{resources.base_url}}voila/">
4644
<div class="reveal">

0 commit comments

Comments
 (0)