Skip to content

Commit

Permalink
Fail builds when an anchor link is bad (#395)
Browse files Browse the repository at this point in the history
We get warnings right now, but we don't see them. Let's fail the build
hard

Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 authored Oct 3, 2024
1 parent 13cf7ce commit 8fc2c42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ module.exports = {
baseUrl: "/docs/",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "throw",
onBrokenAnchors: "throw",
trailingSlash: "true",
favicon: "img/favicon.png",
organizationName: "Mondoo", // Usually your GitHub org/user name.
Expand Down

0 comments on commit 8fc2c42

Please sign in to comment.