From 2be75c55731c6664264e1b7ee800be7daeba7145 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Sat, 9 Apr 2022 05:19:28 -0500 Subject: [PATCH] clean up docs --- docs/environment.yml | 2 +- nbconvert/exporters/base.py | 2 +- nbconvert/exporters/exporter.py | 2 +- nbconvert/exporters/templateexporter.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/environment.yml b/docs/environment.yml index 6eda334c7..447a88ecf 100644 --- a/docs/environment.yml +++ b/docs/environment.yml @@ -2,7 +2,7 @@ name: nbconvert_docs channels: - conda-forge dependencies: - - python==3.7 + - python==3.9 - pandoc - nbformat - jupyter_client diff --git a/nbconvert/exporters/base.py b/nbconvert/exporters/base.py index 48300f336..cd67601f4 100644 --- a/nbconvert/exporters/base.py +++ b/nbconvert/exporters/base.py @@ -45,7 +45,7 @@ def export(exporter, nb, **kw): method initializes its own instance of the class, it is ASSUMED that the class type provided exposes a constructor (``__init__``) with the same signature as the base Exporter class. - nb : `nbformat.NotebookNode` + nb : :class:`~nbformat.NotebookNode` The notebook to export. config : config (optional, keyword arg) User configuration instance. diff --git a/nbconvert/exporters/exporter.py b/nbconvert/exporters/exporter.py index e47bdabd4..df3443200 100644 --- a/nbconvert/exporters/exporter.py +++ b/nbconvert/exporters/exporter.py @@ -127,7 +127,7 @@ def from_notebook_node(self, nb, resources=None, **kw): Parameters ---------- - nb : `nbformat.NotebookNode` + nb : :class:`~nbformat.NotebookNode` Notebook node (dict-like with attr-access) resources : dict Additional resources that can be accessed read/write by diff --git a/nbconvert/exporters/templateexporter.py b/nbconvert/exporters/templateexporter.py index 1db3670bb..b3b148419 100644 --- a/nbconvert/exporters/templateexporter.py +++ b/nbconvert/exporters/templateexporter.py @@ -375,7 +375,7 @@ def from_notebook_node(self, nb, resources=None, **kw): Parameters ---------- - nb : `nbformat.NotebookNode` + nb : :class:`~nbformat.NotebookNode` Notebook node resources : dict Additional resources that can be accessed read/write by