From e6d7aa8663ab9d52c2e611a58c8b34d725c8e311 Mon Sep 17 00:00:00 2001
From: aeneasr <3372410+aeneasr@users.noreply.github.com>
Date: Fri, 14 Nov 2025 10:19:56 +0100
Subject: [PATCH 1/2] fix: reduce preload stuff
---
docusaurus.config.ts | 16 ----------------
src/theme/Root.js | 2 ++
2 files changed, 2 insertions(+), 16 deletions(-)
diff --git a/docusaurus.config.ts b/docusaurus.config.ts
index 983f912de7..6222c232be 100644
--- a/docusaurus.config.ts
+++ b/docusaurus.config.ts
@@ -230,7 +230,6 @@ const config: Config = {
...[
"InterVariable.woff2?v=4.0",
"JetBrainsMono-Regular.woff2",
- "JetBrainsMono-Italic.woff2",
].map((font: string) => ({
tagName: "link",
attributes: {
@@ -242,21 +241,6 @@ const config: Config = {
},
})),
],
- scripts: [
- // Needed as a workaround for https://answers.netlify.com/t/trailing-slash-missing-on-proxied-netlify-site/36367
- {
- src: "/docs/scripts/redirect.js",
- async: true,
- },
- {
- src: "https://consent.ory.com/cmp/init.js",
- async: true,
- },
- {
- src: "https://consent.ory.com/index.js",
- async: true,
- },
- ],
}
module.exports = config
diff --git a/src/theme/Root.js b/src/theme/Root.js
index 451a367a31..47adc5af4b 100644
--- a/src/theme/Root.js
+++ b/src/theme/Root.js
@@ -11,6 +11,8 @@ function Root({ children }) {
return (
<>
{children}
+
+
>
)
From e3b58782252bc2fd4a152ec90c6278129684271a Mon Sep 17 00:00:00 2001
From: aeneasr <3372410+aeneasr@users.noreply.github.com>
Date: Fri, 14 Nov 2025 12:38:30 +0100
Subject: [PATCH 2/2] chore: synchronize workspaces
---
docusaurus.config.ts | 25 ++++++++++++-------------
1 file changed, 12 insertions(+), 13 deletions(-)
diff --git a/docusaurus.config.ts b/docusaurus.config.ts
index 6222c232be..0f87738f5b 100644
--- a/docusaurus.config.ts
+++ b/docusaurus.config.ts
@@ -227,19 +227,18 @@ const config: Config = {
href: "/docs/fonts/fonts.css",
},
},
- ...[
- "InterVariable.woff2?v=4.0",
- "JetBrainsMono-Regular.woff2",
- ].map((font: string) => ({
- tagName: "link",
- attributes: {
- rel: "preload",
- type: "font/woff2",
- as: "font",
- crossOrigin: "anonymous",
- href: `/docs/fonts/${font.includes("Inter") ? "Inter" : "JetBrainsMono"}/${font}`,
- },
- })),
+ ...["InterVariable.woff2?v=4.0", "JetBrainsMono-Regular.woff2"].map(
+ (font: string) => ({
+ tagName: "link",
+ attributes: {
+ rel: "preload",
+ type: "font/woff2",
+ as: "font",
+ crossOrigin: "anonymous",
+ href: `/docs/fonts/${font.includes("Inter") ? "Inter" : "JetBrainsMono"}/${font}`,
+ },
+ }),
+ ),
],
}