From a7bbd5eaedab7536a46d043867dbe1e04a11ecfd Mon Sep 17 00:00:00 2001 From: Adam Gastineau Date: Mon, 8 Sep 2025 07:47:31 -0700 Subject: [PATCH 1/3] chore: allow max size images to be displayed on adequate connections --- nodejs/docusaurus.config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nodejs/docusaurus.config.ts b/nodejs/docusaurus.config.ts index 885685bcc37..906cf06d324 100644 --- a/nodejs/docusaurus.config.ts +++ b/nodejs/docusaurus.config.ts @@ -47,7 +47,9 @@ let plugins = [ [ require.resolve('@docusaurus/plugin-ideal-image'), { - max: 1024, + // The plugin will take the min of this and the actual dimensions + // https://github.com/slorber/responsive-loader/blob/master/src/index.js#L187C32-L187C46 + max: Number.MAX_SAFE_INTEGER, min: 640, steps: 4, disableInDev: false From 63bae7223618d5260e13f54d0f7c6126b6bed6ec Mon Sep 17 00:00:00 2001 From: Adam Gastineau Date: Mon, 8 Sep 2025 08:20:26 -0700 Subject: [PATCH 2/3] Add config change to other platforms --- dotnet/docusaurus.config.ts | 4 +++- java/docusaurus.config.ts | 4 +++- python/docusaurus.config.ts | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/dotnet/docusaurus.config.ts b/dotnet/docusaurus.config.ts index cb994b5c789..852bba209ad 100644 --- a/dotnet/docusaurus.config.ts +++ b/dotnet/docusaurus.config.ts @@ -47,7 +47,9 @@ let plugins = [ [ require.resolve('@docusaurus/plugin-ideal-image'), { - max: 1024, + // The plugin will take the min of this and the actual dimensions + // https://github.com/slorber/responsive-loader/blob/master/src/index.js#L187C32-L187C46 + max: Number.MAX_SAFE_INTEGER, min: 640, steps: 4, disableInDev: false diff --git a/java/docusaurus.config.ts b/java/docusaurus.config.ts index a4048610e5d..0ffe3fb219a 100644 --- a/java/docusaurus.config.ts +++ b/java/docusaurus.config.ts @@ -47,7 +47,9 @@ let plugins = [ [ require.resolve('@docusaurus/plugin-ideal-image'), { - max: 1024, + // The plugin will take the min of this and the actual dimensions + // https://github.com/slorber/responsive-loader/blob/master/src/index.js#L187C32-L187C46 + max: Number.MAX_SAFE_INTEGER, min: 640, steps: 4, disableInDev: false diff --git a/python/docusaurus.config.ts b/python/docusaurus.config.ts index 17262d4ede5..6f4daac0ad5 100644 --- a/python/docusaurus.config.ts +++ b/python/docusaurus.config.ts @@ -47,7 +47,9 @@ let plugins = [ [ require.resolve('@docusaurus/plugin-ideal-image'), { - max: 1024, + // The plugin will take the min of this and the actual dimensions + // https://github.com/slorber/responsive-loader/blob/master/src/index.js#L187C32-L187C46 + max: Number.MAX_SAFE_INTEGER, min: 640, steps: 4, disableInDev: false From a1ed4d7a88237a5c66106facadd7235d6cd2f409 Mon Sep 17 00:00:00 2001 From: Adam Gastineau Date: Mon, 8 Sep 2025 08:48:53 -0700 Subject: [PATCH 3/3] Bump to pass CLA --- nodejs/docusaurus.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodejs/docusaurus.config.ts b/nodejs/docusaurus.config.ts index 906cf06d324..3a94ec34667 100644 --- a/nodejs/docusaurus.config.ts +++ b/nodejs/docusaurus.config.ts @@ -47,7 +47,7 @@ let plugins = [ [ require.resolve('@docusaurus/plugin-ideal-image'), { - // The plugin will take the min of this and the actual dimensions + // The plugin will take the min of this and the actual dimensions // https://github.com/slorber/responsive-loader/blob/master/src/index.js#L187C32-L187C46 max: Number.MAX_SAFE_INTEGER, min: 640,