Skip to content

Commit c65f6bf

Browse files
authored
Merge pull request #923 from zhzhuang-zju/markdown
replace siteConfig.onBrokenMarkdownLinks by siteConfig.markdown.hook.onBrokenMarkdownLinks
2 parents b574778 + 2c4ed78 commit c65f6bf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docusaurus.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ module.exports = {
77
url: "https://karmada.io",
88
baseUrl: "/",
99
onBrokenLinks: "throw",
10-
onBrokenMarkdownLinks: "throw",
1110
organizationName: "karmada-io",
1211
projectName: "website",
1312
i18n: {
@@ -240,4 +239,9 @@ module.exports = {
240239
},
241240
],
242241
],
242+
markdown: {
243+
hooks: {
244+
onBrokenMarkdownLinks: "throw",
245+
}
246+
},
243247
};

0 commit comments

Comments
 (0)