diff options
Diffstat (limited to 'docs/conf.py')
| -rw-r--r-- | docs/conf.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py index e87def82..b2c871c5 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -199,4 +199,12 @@ texinfo_documents = [ def setup(app): - pass
\ No newline at end of file + # Prefer WebP for HTML output; LaTeX keeps its default (PDF/PNG/JPEG) + from sphinx.builders.html import StandaloneHTMLBuilder + StandaloneHTMLBuilder.supported_image_types = [ + 'image/webp', + 'image/svg+xml', + 'image/png', + 'image/gif', + 'image/jpeg', + ]
\ No newline at end of file |
