How to add nbsphinx thumbnails to our talktorial gallery?
#185
dominiquesydow
started this conversation in
How Tos
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Procedure
Procedure for adding
nbsphixthumbnails to the gallery.To fix an image as a thumbnail, there are two options. The image can either be taken from a cell output from your notebook or you can specify an image file as thumbnail.
Use Jupyter cell output as thumbnail
Use image file as thumbnail
docs/_static/images/thumbnails/T0xx.png(with the talktorial number)docs/conf.pyfilenbsphinx_thumbnails, add a new talktorial thumbnail like this:'talktorials/T0xx_name_of_talktorial': '_static/images/thumbnails/T0xx.png',Resources
Beta Was this translation helpful? Give feedback.
All reactions