Skip to content

Commit 45c22cb

Browse files
committed
fix: config
1 parent 75616fc commit 45c22cb

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

docusaurus.config.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,14 @@ const config: Config = {
1313
projectName: "api-docs",
1414

1515
onBrokenLinks: "throw",
16-
onBrokenMarkdownLinks: "throw",
1716
onDuplicateRoutes: "throw",
1817

18+
markdown: {
19+
hooks: {
20+
onBrokenMarkdownLinks: "throw",
21+
},
22+
},
23+
1924
i18n: {
2025
defaultLocale: "zh-Hant",
2126
locales: ["zh-Hant", "en", "ja"],

0 commit comments

Comments
 (0)