Skip to content

Commit

Permalink
Throw on broken links (#325)
Browse files Browse the repository at this point in the history
* Update all docs branches, for broken link fixes

Signed-off-by: Tom Spurling <[email protected]>

* Throw on broken links

Signed-off-by: Tom Spurling <[email protected]>

---------

Signed-off-by: Tom Spurling <[email protected]>
Co-authored-by: Tom Spurling <[email protected]>
  • Loading branch information
mehhhhhhhhhhhhhhh and tsprlng authored Aug 14, 2024
1 parent 8f4c4f2 commit 2b9becb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,8 @@ const config: Config = {
// For GitHub Pages, this value must be defined.
trailingSlash: true,

// TODO: Once we clean up links we can switch to "throw"
onBrokenLinks: "warn",
onBrokenMarkdownLinks: "warn",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "throw",

i18n: {
defaultLocale: "en",
Expand Down
2 changes: 1 addition & 1 deletion opentofu-repo/v1.7

0 comments on commit 2b9becb

Please sign in to comment.