Skip to content

Commit 22a9630

Browse files
committed
Fixed deprecation usage
1 parent aa78f35 commit 22a9630

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docusaurus.config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ const config: Config = {
2727
trailingSlash: false,
2828

2929
onBrokenLinks: 'throw',
30-
onBrokenMarkdownLinks: 'warn',
30+
markdown: {
31+
hooks: {
32+
onBrokenMarkdownLinks: 'warn',
33+
},
34+
},
3135

3236
// Even if you don't use internationalization, you can use this field to set
3337
// useful metadata like html lang. For example, if your site is Chinese, you

0 commit comments

Comments
 (0)