From c5ed22805262a406e41d6666cbc381de0eed43dc Mon Sep 17 00:00:00 2001 From: BO ZHANG Date: Sat, 16 Sep 2023 21:33:32 +0800 Subject: [PATCH] add nbsphinx --- docs/source/conf.py | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index b823a2d..bb9fdae 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -34,13 +34,15 @@ release = '0.0.1beta' # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = ["recommonmark", - "sphinx_copybutton", - "sphinx.ext.autodoc", - "sphinx.ext.napoleon", - "sphinx.ext.viewcode", - "sphinx.ext.mathjax", - ] +extensions = [ + "nbsphinx", + "recommonmark", + "sphinx_copybutton", + "sphinx.ext.autodoc", + "sphinx.ext.napoleon", + "sphinx.ext.viewcode", + "sphinx.ext.mathjax", +] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] -- GitLab