Skip to content

Commit b2196ad

Browse files
committed
Make all broken links show warning
A list of all broken links for versions of docs still under Maintenance Support are generated in **brokenLinks.log**. To eliminate potentially redundant entries in the log, only `onBrokenLinks` is set to `warn`.
1 parent 1ed26d8 commit b2196ad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docusaurus.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ const config = {
2424
projectName: 'docs-scalardb', // Usually your repo name.
2525

2626
onBrokenLinks: 'warn',
27-
onBrokenMarkdownLinks: 'warn',
27+
onBrokenMarkdownLinks: 'ignore',
28+
onBrokenAnchors: 'ignore',
2829

2930
// Even if you don't use internationalization, you can use this field to set
3031
// useful metadata like html lang. For example, if your site is Chinese, you

0 commit comments

Comments
 (0)