From c4c161b38462b6c3e98d15e90a03b0b8b05738e8 Mon Sep 17 00:00:00 2001
From: Deepak Khatri <lorforlinux@beagleboard.org>
Date: Wed, 11 Oct 2023 19:52:36 +0530
Subject: [PATCH] Increase webp image priority for HTML

---
 conf.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/conf.py b/conf.py
index 7e86c2c9..d6228a54 100644
--- a/conf.py
+++ b/conf.py
@@ -39,8 +39,8 @@ todo_include_todos = True
 
 # Update (HTML) supported_image_types selection priority order
 from sphinx.builders.html import StandaloneHTMLBuilder
-StandaloneHTMLBuilder.supported_image_types = ['image/svg+xml', 'image/webp', 'image/jpg', 
-                                       'image/jpeg', 'image/gif', 'image/png']
+StandaloneHTMLBuilder.supported_image_types = ['image/webp', 'image/jpg', 
+                                       'image/jpeg', 'image/svg+xml', 'image/png', 'image/gif']
 
 # Update (PDF) supported_image_types selection priority order
 from sphinx.builders.latex import LaTeXBuilder
-- 
GitLab