Skip to content

Commit

Permalink
Fail builds when an anchor link is bad
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 committed Oct 3, 2024
1 parent 68161af commit 8c1b784
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 8c1b784

Please sign in to comment.