Skip to content

Commit 3f1d9ce

Browse files
Xylo Danclaude
andcommitted
fix: revert markdown.hooks config back to top-level for Docusaurus 3.7.0
markdown.hooks is a 3.9+ feature and breaks the build on 3.7.0. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 0fcf1e2 commit 3f1d9ce

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

docusaurus.config.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,9 @@ const config = {
2323
projectName: 'pyxdocu', // Usually your repo name.
2424

2525
onBrokenLinks: 'throw',
26+
onBrokenMarkdownLinks: 'warn', // TODO: migrate to markdown.hooks.onBrokenMarkdownLinks when upgrading to Docusaurus 3.9+
2627
onBrokenAnchors: 'warn',
2728

28-
markdown: {
29-
hooks: {
30-
onBrokenMarkdownLinks: 'warn',
31-
},
32-
},
33-
3429
i18n: {
3530
defaultLocale: 'en',
3631
locales: ['en'],

0 commit comments

Comments
 (0)