update docusaurus config for v4

This commit is contained in:
BotBlake
2025-10-05 01:23:09 +02:00
parent 3c1187a1aa
commit 3c312bfeed
+4 -2
View File
@@ -15,7 +15,6 @@ const config: Config = {
baseUrl: '/',
onBrokenAnchors: process.env.CI ? 'throw' : 'warn',
onBrokenLinks: process.env.CI ? 'throw' : 'warn',
onBrokenMarkdownLinks: process.env.CI ? 'throw' : 'warn',
onDuplicateRoutes: process.env.CI ? 'throw' : 'warn',
favicon: 'images/favicon.ico',
organizationName: 'jellyfin',
@@ -104,7 +103,10 @@ Site content is licensed <a href='http://creativecommons.org/licenses/by-nd/4.0/
}
},
markdown: {
mermaid: true
mermaid: true,
hooks: {
onBrokenMarkdownLinks: process.env.CI ? 'throw' : 'warn'
}
},
plugins: [
// Main content