diff --git a/doc/_static/thumbnails/pulsating_sphere.gif b/doc/_static/thumbnails/pulsating_sphere.gif new file mode 100644 index 00000000..6fd547d0 Binary files /dev/null and b/doc/_static/thumbnails/pulsating_sphere.gif differ diff --git a/doc/_static/thumbnails/soundfigure_level.png b/doc/_static/thumbnails/soundfigure_level.png new file mode 100644 index 00000000..a0edc175 Binary files /dev/null and b/doc/_static/thumbnails/soundfigure_level.png differ diff --git a/doc/conf.py b/doc/conf.py index 71478628..4dd85c49 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -24,6 +24,11 @@ "--InlineBackend.rc={'figure.dpi': 96}", ] +nbsphinx_thumbnails = { + 'example-python-scripts': '_static/thumbnails/soundfigure_level.png', + 'examples/animations-pulsating-sphere': '_static/thumbnails/pulsating_sphere.gif', +} + # Tell autodoc that the documentation is being generated sphinx.SFS_DOCS_ARE_BEING_BUILT = True diff --git a/doc/examples.rst b/doc/examples.rst index 0248604a..c04994c4 100644 --- a/doc/examples.rst +++ b/doc/examples.rst @@ -10,8 +10,7 @@ Examples :target: https://mybinder.org/v2/gh/sfstoolbox/sfs-python/master? filepath=doc/examples -.. toctree:: - :maxdepth: 1 +.. nbgallery:: examples/sound-field-synthesis examples/modal-room-acoustics