You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For non-html output, let sphinx pick the best format.
See https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html?highlight=figure#images
We were hardcoding the image format before anyways (for html, things are
different because we make the format configurable).
This enables one to support third-party builders instead of having to
explicitly list them in the template.
Admittedly this will now break if someone tries e.g. to do a build
without generating figures in *any* of the formats supported by the
sphinx builder, whereas previously we would just skip all images; I
think that's reasonable though...
0 commit comments