spatialaudio / nbsphinx

:ledger: Sphinx source parser for Jupyter notebooks
https://nbsphinx.readthedocs.io/
MIT License
449 stars 128 forks source link

Continued: Use the last image in a notebook as the default thumbnail #717

Closed mgeier closed 1 year ago

mgeier commented 1 year ago

This is a continuation of #707.

This fixes the behavior in case of a cell tag and it changes the way how the default image is found: instead of looking at the last output of each cell, this now looks at each single output (starting at the end) and takes the first one that has a supported MIME type.