Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit c4c161b3 authored by Deepak Khatri's avatar Deepak Khatri :dog:
Browse files

Increase webp image priority for HTML

parent ef5da2b8
No related merge requests found
...@@ -39,8 +39,8 @@ todo_include_todos = True ...@@ -39,8 +39,8 @@ todo_include_todos = True
# Update (HTML) supported_image_types selection priority order # Update (HTML) supported_image_types selection priority order
from sphinx.builders.html import StandaloneHTMLBuilder from sphinx.builders.html import StandaloneHTMLBuilder
StandaloneHTMLBuilder.supported_image_types = ['image/svg+xml', 'image/webp', 'image/jpg', StandaloneHTMLBuilder.supported_image_types = ['image/webp', 'image/jpg',
'image/jpeg', 'image/gif', 'image/png'] 'image/jpeg', 'image/svg+xml', 'image/png', 'image/gif']
# Update (PDF) supported_image_types selection priority order # Update (PDF) supported_image_types selection priority order
from sphinx.builders.latex import LaTeXBuilder from sphinx.builders.latex import LaTeXBuilder
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment