Skip to content

Commit 9163587

Browse files
author
Jürgen Hasch
committed
Update CI tests, update version
1 parent 246338f commit 9163587

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/jupyter_contrib_nbextensions/nbconvert_support/exporter_inliner.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ def default_config(self):
3939
templates_directory)
4040
contrib_templates_dir = templates_directory()
4141

42-
template_paths = c.TemplateExporter.setdefault('template_paths', [])
43-
if contrib_templates_dir not in template_paths:
44-
template_paths.append(contrib_templates_dir)
42+
extra_template_paths = c.TemplateExporter.setdefault('extra_template_paths', [])
43+
if contrib_templates_dir not in extra_template_paths:
44+
extra_template_paths.append(contrib_templates_dir)
4545

4646
return c

src/jupyter_contrib_nbextensions/nbextensions/runtools/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ print(templates_directory())
7878
```
7979

8080
The template needs to be in a path where nbconvert can find it. This can be your local path or specified in
81-
`jupyter_nbconvert_config` or `jupyter_notebook_config` as `c.Exporter.extra_template_basdirs`, see [Jupyter docs](https://jupyter-notebook.readthedocs.io/en/latest/config.html).
81+
`jupyter_nbconvert_config` or `jupyter_notebook_config` as `c.Exporter.extra_template_paths`, see [Jupyter docs](https://jupyter-notebook.readthedocs.io/en/latest/config.html).
8282

8383
For HTML export a template is provided as `nbextensions.tpl` in the `jupyter_contrib_nbextensions` templates directory. Alternatively you can create your own template:
8484
```

0 commit comments

Comments
 (0)