File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -245,13 +245,13 @@ const config: Config = {
245
245
// },
246
246
} satisfies Preset . ThemeConfig ,
247
247
248
+ // Migrated legacy setting to markdown.hooks.onBrokenMarkdownLinks
248
249
markdown : {
249
250
mermaid : true ,
251
+ // ✅ CORRECT for Docusaurus 3.9+
250
252
hooks : { onBrokenMarkdownLinks : "warn" } ,
251
253
} ,
252
254
253
- // Migrated legacy setting to markdown.hooks.onBrokenMarkdownLinks
254
-
255
255
themes : [ "@docusaurus/theme-mermaid" ] ,
256
256
257
257
plugins : [
@@ -269,7 +269,8 @@ const config: Config = {
269
269
270
270
// ✅ Add this customFields object to expose the token to the client-side
271
271
customFields : {
272
- gitToken : process . env . DOCUSAURUS_GIT_TOKEN ,
272
+ gitToken : process . env . GITHUB_TOKEN || process . env . DOCUSAURUS_GIT_TOKEN ,
273
+
273
274
// Shopify credentials for merch store
274
275
SHOPIFY_STORE_DOMAIN :
275
276
process . env . SHOPIFY_STORE_DOMAIN || "junh9v-gw.myshopify.com" ,
You can’t perform that action at this time.
0 commit comments