mirror of
https://github.com/jellyfin/jellyfin.org.git
synced 2026-09-03 04:20:03 +03:00
update docusaurus config for v4
This commit is contained in:
@@ -15,7 +15,6 @@ const config: Config = {
|
|||||||
baseUrl: '/',
|
baseUrl: '/',
|
||||||
onBrokenAnchors: process.env.CI ? 'throw' : 'warn',
|
onBrokenAnchors: process.env.CI ? 'throw' : 'warn',
|
||||||
onBrokenLinks: process.env.CI ? 'throw' : 'warn',
|
onBrokenLinks: process.env.CI ? 'throw' : 'warn',
|
||||||
onBrokenMarkdownLinks: process.env.CI ? 'throw' : 'warn',
|
|
||||||
onDuplicateRoutes: process.env.CI ? 'throw' : 'warn',
|
onDuplicateRoutes: process.env.CI ? 'throw' : 'warn',
|
||||||
favicon: 'images/favicon.ico',
|
favicon: 'images/favicon.ico',
|
||||||
organizationName: 'jellyfin',
|
organizationName: 'jellyfin',
|
||||||
@@ -104,7 +103,10 @@ Site content is licensed <a href='http://creativecommons.org/licenses/by-nd/4.0/
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
markdown: {
|
markdown: {
|
||||||
mermaid: true
|
mermaid: true,
|
||||||
|
hooks: {
|
||||||
|
onBrokenMarkdownLinks: process.env.CI ? 'throw' : 'warn'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
// Main content
|
// Main content
|
||||||
|
|||||||
Reference in New Issue
Block a user