Skip to content

Commit 4c89222

Browse files
committed
Set onBrokenMarkdownLinks: 'throw' as well
1 parent b8f8475 commit 4c89222

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docusaurus.config.cjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ const config = {
1515
baseUrl: '/',
1616
trailingSlash: true,
1717
onBrokenLinks: 'throw',
18-
onBrokenMarkdownLinks: 'warn',
18+
onBrokenMarkdownLinks: 'throw',
19+
onBrokenAnchors: 'throw',
1920
favicon: 'img/favicon.ico',
2021

2122
plugins: [
@@ -150,7 +151,6 @@ const config = {
150151
darkTheme: darkCodeTheme,
151152
},
152153
},
153-
onBrokenAnchors: 'throw',
154154
};
155155

156156
module.exports = config;

0 commit comments

Comments
 (0)