Skip to content

Commit 705ea11

Browse files
committed
chore(website): change detracted config
1 parent 3622482 commit 705ea11

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

website/docusaurus.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ const config = {
2525
trailingSlash: false,
2626

2727
onBrokenLinks: 'throw',
28-
onBrokenMarkdownLinks: 'warn',
2928

3029
// Even if you don't use internationalization, you can use this field to set
3130
// useful metadata like html lang. For example, if your site is Chinese, you
@@ -35,6 +34,12 @@ const config = {
3534
locales: ['en'],
3635
},
3736

37+
markdown: {
38+
hooks: {
39+
onBrokenMarkdownLinks: 'warn',
40+
},
41+
},
42+
3843
presets: [
3944
[
4045
'classic',

0 commit comments

Comments
 (0)