From 41e02836bcddbf897dfec5c2c4e2fde00f2f9117 Mon Sep 17 00:00:00 2001 From: Johannes Liermann Date: Tue, 2 Dec 2025 17:27:46 +0100 Subject: [PATCH] test(theme): test for JPG --- website/_dogfooding/_docs tests/doc-cards-items.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/website/_dogfooding/_docs tests/doc-cards-items.js b/website/_dogfooding/_docs tests/doc-cards-items.js index 70e36882ba..66dfe923aa 100644 --- a/website/_dogfooding/_docs tests/doc-cards-items.js +++ b/website/_dogfooding/_docs tests/doc-cards-items.js @@ -6,6 +6,7 @@ */ import png from '@site/static/img/docusaurus.png'; import svgImg from '@site/static/img/docusaurus.svg'; +import jpg from '@site/static/img/endi.jpg'; const items = [ { @@ -54,6 +55,13 @@ const items = [ icon: png, type: 'link', }, + { + label: 'Custom Image', + description: 'It works with JPG', + href: 'https://docusaurus.io', + icon: jpg, + type: 'link', + }, { label: 'Custom Image', description: 'It does not work with SVG',