Skip to content

Commit 5f06070

Browse files
committed
Update docs nbconvert template to be compatible with nbconvert 7
1 parent 3f8b00e commit 5f06070

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎doc/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ $(HTML_DIR)/2019-07-03-%.html: $(IPYNB_DIR)/%.ipynb
3030
@mkdir -p $(HTML_DIR)
3131
@mkdir -p $(FAIL_DIR)
3232
@echo "[nbconvert] $<"
33-
@jupyter nbconvert $< --to html --template nb.tpl \
33+
@jupyter nbconvert $< --to html --template basic --template-file nb.tpl \
3434
--ExecutePreprocessor.timeout=600\
3535
--output-dir $(HTML_DIR) --output 2019-07-03-$*.html \
3636
--execute > $(FAIL_DIR)/$* 2>&1 && rm -f $(FAIL_DIR)/$*

‎doc/nb.tpl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{%- extends 'basic.tpl' -%}
1+
{%- extends 'index.html.j2' -%}
22
{%- block header -%}
33
---
44
{% for k in nb.metadata.get("plotly") -%}

0 commit comments

Comments
 (0)