nbsphinx
nbsphinx copied to clipboard
nbgallery thumbnails fill width with sphinx-gallery 0.11
This nbsphinx
gallery:
Reference frames
================
These tutorials cover the relevant reference frames in EBSD and how to determine the
detector-sample geometry, also known as the projection/pattern center (PC).
.. nbgallery::
reference_frames
pc_calibration_moving_screen_technique
looks like this with sphinx-gallery 0.10.1:
and like this with sphinx-gallery 0.11:
I'm afraid I don't know the reason for this. Are anyone else seeing this as well?
As a temporary solution, I'm pinning sphinx-gallery
to < 0.11 in my projects.
Yes seeing the same here, also pinning sphinx-gallery < 0.11 for now.
Thanks for reporting this!
I can reproduce the problem, but I will only have time to look into this after next week.
If somebody has any additional information, please let me know!
I'm of course also open for a pull request!
I will only have time to look into this after next week.
That would be great! However, there is no rush to amend this behaviour with sphinx-gallery v0.11 from my side, at least.
I've made a first attempt for solving this at #666.
I'm leaning towards creating custom HTML and CSS for nbsphinx
and to stop being compatible with Sphinx Gallery (https://github.com/sphinx-gallery/sphinx-gallery/pull/1005#issuecomment-1289433992).
See https://github.com/mgeier/nbsphinx/pull/2 for a discussion, feel free to chime in!
I'm working on a potential solution in #706, please review!
I built my documentation locally with the changes in #706, and found the changes to solve my issue.
The gallery tiles look very nice. And I like that the tooltip shows the full notebook description. Thank you!