Commit caedd43
committed
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...1 parent ce72670 commit caedd43
1 file changed
+3
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
| 351 | + | |
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| |||
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
387 | | - | |
| 387 | + | |
388 | 388 | | |
389 | 389 | | |
390 | | - | |
391 | | - | |
| 390 | + | |
392 | 391 | | |
393 | 392 | | |
394 | 393 | | |
395 | 394 | | |
396 | 395 | | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | 396 | | |
411 | 397 | | |
412 | 398 | | |
| |||
777 | 763 | | |
778 | 764 | | |
779 | 765 | | |
780 | | - | |
781 | | - | |
782 | | - | |
783 | | - | |
784 | 766 | | |
785 | 767 | | |
786 | 768 | | |
| |||
794 | 776 | | |
795 | 777 | | |
796 | 778 | | |
797 | | - | |
798 | | - | |
799 | | - | |
800 | 779 | | |
801 | 780 | | |
802 | 781 | | |
| |||
0 commit comments