Skip to content

Commit

Permalink
[Docusaurus] Error on broken links
Browse files Browse the repository at this point in the history
Would have prevented us from publishing the site with broken links.

For broken anchors we just warn since those still take us to the correct page.
  • Loading branch information
CristianLara committed Feb 2, 2025
1 parent d3c25ce commit f4ea814
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ module.exports={
"users": [],
"wrapPagesHTML": true
},
"onBrokenLinks": "log",
"onBrokenMarkdownLinks": "log",
"onBrokenLinks": "throw",
"onBrokenMarkdownLinks": "warn",
"presets": [
[
"@docusaurus/preset-classic",
Expand Down

0 comments on commit f4ea814

Please sign in to comment.