mirror of
https://github.com/jellyfin/jellyfin.org.git
synced 2026-09-03 02:10:04 +03:00
update docusaurus config for v4
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user