diff --git a/sphinx/builders/_epub_base.py b/sphinx/builders/_epub_base.py index 4bb602fe0..78d3d89a0 100644 --- a/sphinx/builders/_epub_base.py +++ b/sphinx/builders/_epub_base.py @@ -56,6 +56,7 @@ MEDIA_TYPES = { '.xhtml': 'application/xhtml+xml', '.css': 'text/css', '.png': 'image/png', + '.webp': 'image/webp', '.gif': 'image/gif', '.svg': 'image/svg+xml', '.jpg': 'image/jpeg',