We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d21b9f commit 93b51c2Copy full SHA for 93b51c2
docusaurus.config.ts
@@ -41,7 +41,7 @@ const config: Config = {
41
projectName: 'docs-website', // Usually your repo name.
42
43
onBrokenLinks: 'throw',
44
- onBrokenMarkdownLinks: 'warn',
+ onBrokenAnchors: 'warn',
45
46
// Even if you don't use internationalization, you can use this field to set
47
// useful metadata like html lang. For example, if your site is Chinese, you
@@ -58,6 +58,10 @@ const config: Config = {
58
admonitions: false,
59
headingIds: true,
60
},
61
+ hooks: {
62
+ onBrokenMarkdownLinks: 'warn',
63
+ onBrokenMarkdownImages: 'throw',
64
+ },
65
66
67
themes: ['@docusaurus/theme-mermaid', 'docusaurus-json-schema-plugin'],
0 commit comments