Skip to content

Commit 7d8693f

Browse files
authored
Set onBrokenAnchors and onBrokenMarkdownLinks to throw (#128)
- https://docusaurus.io/blog/releases/3.4 Can enforce that tags are either in the frontmatter or inline w/in content - https://docusaurus.io/blog/releases/3.3 Prepares for React 19 - https://docusaurus.io/blog/releases/3.2 Faster builds Faster dev server MDX partials TOC (if you add headings via an MDX partial, they can be included in the table of contents now) - https://docusaurus.io/blog/releases/3.1 Broken anchors checker
1 parent fa2ddbc commit 7d8693f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docusaurus.config.cjs

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ const config = {
1515
baseUrl: '/',
1616
trailingSlash: true,
1717
onBrokenLinks: 'throw',
18-
onBrokenMarkdownLinks: 'warn',
18+
onBrokenMarkdownLinks: 'throw',
19+
onBrokenAnchors: 'throw',
1920
favicon: 'img/favicon.ico',
2021

2122
plugins: [

0 commit comments

Comments
 (0)