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