Skip to content

Commit dad4f21

Browse files
committed
chore: migrate onBrokenMarkdownLinks to markdown hooks
1 parent b41c923 commit dad4f21

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

tucca-cellag/docusaurus.config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ const config: Config = {
2222
deploymentBranch: 'gh-pages',
2323

2424
onBrokenLinks: 'throw',
25-
onBrokenMarkdownLinks: 'warn',
25+
markdown: {
26+
hooks: {
27+
onBrokenMarkdownLinks: 'warn',
28+
},
29+
},
2630

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

0 commit comments

Comments
 (0)