Skip to content

Commit 2d60d46

Browse files
committed
Fixed config
1 parent 8067206 commit 2d60d46

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docusaurus.config.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,19 @@ const config: Config = {
2424
organizationName: 'tlsnotary', // Usually your GitHub org/user name.
2525
projectName: 'TLSNotary', // Usually your repo name.
2626

27-
onBrokenLinks: 'throw',
28-
onBrokenMarkdownLinks: 'warn',
2927

3028
plugins: [
3129
matomoPlugin,
3230
['@docusaurus/plugin-client-redirects', { redirects },],
3331
],
3432

33+
markdown: {
34+
hooks: {
35+
onBrokenMarkdownLinks: 'throw',
36+
onBrokenMarkdownImages: 'throw',
37+
},
38+
},
39+
3540
// Even if you don't use internationalization, you can use this field to set
3641
// useful metadata like html lang. For example, if your site is Chinese, you
3742
// may want to replace "en" with "zh-Hans".

0 commit comments

Comments
 (0)