Skip to content

Commit 5fefc54

Browse files
authored
Update instructions for Jupyter notebook galleries (#11545)
* Update instructions for Jupyter notebook galleries * Remove sentence about Sphinx-Gallery * Remove another mention of Sphinx-Gallery
1 parent 65c3a2c commit 5fefc54

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

docs/user/guides/jupyter.rst

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -237,21 +237,8 @@ Creating galleries of examples using notebooks
237237

238238
`nbsphinx`_ has support for :doc:`creating thumbnail galleries from a list of Jupyter
239239
notebooks <nbsphinx:subdir/gallery>`.
240-
This functionality relies on `Sphinx-Gallery <https://sphinx-gallery.github.io/>`_
241-
and extends it to work with Jupyter notebooks rather than Python scripts.
242240

243-
To use it, you will need to install both nbsphinx and Sphinx-Gallery,
244-
and modify your ``conf.py`` as follows:
245-
246-
.. code-block:: python
247-
:caption: conf.py
248-
249-
extensions = [
250-
"nbsphinx",
251-
"sphinx_gallery.load_style",
252-
]
253-
254-
After doing that, there are two ways to create the gallery:
241+
There are two ways to create the gallery:
255242

256243
- From a reStructuredText source file, using the ``.. nbgallery::`` directive,
257244
:ref:`as showcased in the
@@ -266,9 +253,7 @@ After doing that, there are two ways to create the gallery:
266253

267254
Panel to modify cell metadata in JupyterLab
268255

269-
For example, this reST markup would create a thumbnail gallery
270-
with generic images as thumbnails,
271-
thanks to the Sphinx-Gallery default style:
256+
For example, this markup would create a thumbnail gallery:
272257

273258
.. tabs::
274259

0 commit comments

Comments
 (0)