😵 Don't throw critical error on broken link pls

This commit is contained in:
Alicia Sykes 2021-09-19 23:19:25 +01:00
parent bbb95bcef4
commit c67e7ae195

View File

@ -19,13 +19,14 @@ module.exports = {
tagline: 'The Ultimate Homepage for your Homelab', tagline: 'The Ultimate Homepage for your Homelab',
url: externalUrl.dashyUrl, url: externalUrl.dashyUrl,
baseUrl: '/', baseUrl: '/',
onBrokenLinks: 'throw', onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'warn', onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico', favicon: 'img/favicon.ico',
organizationName: 'lissy93', // Usually your GitHub org/user name. organizationName: 'lissy93', // Usually your GitHub org/user name.
projectName: 'dashy', // Usually your repo name. projectName: 'dashy', // Usually your repo name.
plugins: ['docusaurus-plugin-sass'], plugins: ['docusaurus-plugin-sass'],
themeConfig: { themeConfig: {
// Dark & Light Mode
colorMode: { colorMode: {
defaultMode: 'dark', defaultMode: 'dark',
switchConfig: { switchConfig: {
@ -46,6 +47,7 @@ module.exports = {
{ label: 'Documentation', to: '/docs' }, { label: 'Documentation', to: '/docs' },
], ],
}, },
// Page Footer Links
footer: { footer: {
style: 'dark', style: 'dark',
links: [ links: [