diff --git a/doc/Makefile b/doc/Makefile index a0745490c3..2294073778 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -30,7 +30,7 @@ $(HTML_DIR)/2019-07-03-%.html: $(IPYNB_DIR)/%.ipynb @mkdir -p $(HTML_DIR) @mkdir -p $(FAIL_DIR) @echo "[nbconvert] $<" - @jupyter nbconvert $< --to html --template nb.tpl \ + @jupyter nbconvert $< --to html --template basic --template-file nb.tpl \ --ExecutePreprocessor.timeout=600\ --output-dir $(HTML_DIR) --output 2019-07-03-$*.html \ --execute > $(FAIL_DIR)/$* 2>&1 && rm -f $(FAIL_DIR)/$* diff --git a/doc/nb.tpl b/doc/nb.tpl index a35b41f85b..1a8ea1883f 100644 --- a/doc/nb.tpl +++ b/doc/nb.tpl @@ -1,4 +1,4 @@ -{%- extends 'basic.tpl' -%} +{%- extends 'index.html.j2' -%} {%- block header -%} --- {% for k in nb.metadata.get("plotly") -%} diff --git a/doc/requirements.txt b/doc/requirements.txt index 58f205a1ef..56643187d9 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -15,7 +15,7 @@ jupytext==1.16.4 kaleido # narwhals>=2.27.0 raises a TypeError in our docs usage narwhals==2.21.0 -nbconvert==5.6.1 +nbconvert==7.17.2 networkx==2.8.0 notebook numpy==1.22.4