Skip to content

Commit a0017c7

Browse files
Copilotccamel
andauthored
build: migrate onBrokenMarkdownLinks config to new location (#738)
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: ccamel <[email protected]>
1 parent c98ddce commit a0017c7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docusaurus.config.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ const config = {
6565
url: 'https://docs.axone.xyz',
6666
baseUrl: '/',
6767
onBrokenLinks: 'throw',
68-
onBrokenMarkdownLinks: 'throw',
6968
favicon: 'img/favicon.ico',
7069
organizationName: 'Axone',
7170
projectName: 'docs',
@@ -96,7 +95,10 @@ const config = {
9695
}
9796
],
9897
markdown: {
99-
mermaid: true
98+
mermaid: true,
99+
hooks: {
100+
onBrokenMarkdownLinks: 'throw'
101+
}
100102
},
101103
i18n: {
102104
defaultLocale: 'en',

0 commit comments

Comments
 (0)