From ee3631ad6df5bb946f13120918cb0a0ada61f12c Mon Sep 17 00:00:00 2001 From: Oscar Esteban Date: Thu, 30 Nov 2023 15:38:18 +0100 Subject: [PATCH] enh: enable rendering of the jupyter notebooks --- docs/conf.py | 1 + docs/examples.rst | 8 ++++++++ docs/index.rst | 1 + docs/requirements.txt | 6 +++++- 4 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 docs/examples.rst diff --git a/docs/conf.py b/docs/conf.py index eb4f61580e..09abb8c6db 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -36,6 +36,7 @@ "sphinx.ext.mathjax", "sphinx.ext.viewcode", "sphinxcontrib.apidoc", + "nbsphinx", "nipype.sphinxext.apidoc", "nipype.sphinxext.plot_workflow", ] diff --git a/docs/examples.rst b/docs/examples.rst new file mode 100644 index 0000000000..4efb78ab02 --- /dev/null +++ b/docs/examples.rst @@ -0,0 +1,8 @@ +Examples +======== + +.. toctree:: + :maxdepth: 2 + :caption: Contents: + + notebooks/SDC - Theory and physics \ No newline at end of file diff --git a/docs/index.rst b/docs/index.rst index 466e0d4dab..4045ec7d62 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -7,6 +7,7 @@ Contents :maxdepth: 3 installation + examples methods api changes diff --git a/docs/requirements.txt b/docs/requirements.txt index f6f52b2209..1e481f99ce 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,15 +1,19 @@ attrs >= 20.1.0 furo importlib_resources +ipykernel +ipython matplotlib >= 2.2.0 +nbsphinx nibabel nipype >= 1.5.1 -traits < 6.4 niworkflows ~= 1.6.3 numpy packaging pydot >= 1.2.3 pydotplus +scipy sphinx >= 7.2.2 sphinxcontrib-apidoc templateflow +traits < 6.4