Skip to content

Commit 250f01e

Browse files
authored
Merge pull request #139 from sdkman/fix-deprecation-broken-markdown-links
Fix deprecation onBrokenMarkdownLinks move to markdown.hooks section
2 parents 168cae5 + f3fbca8 commit 250f01e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docusaurus.config.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ const config: Config = {
2121
projectName: 'sdkman.github.io', // Usually your repo name.
2222

2323
onBrokenLinks: 'throw',
24-
onBrokenMarkdownLinks: 'warn',
2524

2625
// Even if you don't use internationalization, you can use this field to set
2726
// useful metadata like html lang. For example, if your site is Chinese, you
@@ -31,6 +30,12 @@ const config: Config = {
3130
locales: ['en'],
3231
},
3332

33+
markdown: {
34+
hooks: {
35+
onBrokenMarkdownLinks: 'warn',
36+
}
37+
},
38+
3439
presets: [
3540
[
3641
'classic',

0 commit comments

Comments
 (0)