Skip to content

Commit

Permalink
chore: do not error on broken links when doing test build (#9363)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena authored Oct 2, 2023
1 parent 0624007 commit 683fe37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ module.exports = async function createConfigAsync() {
},
onBrokenLinks:
// Do not fail the build if a localized site has a broken link
process.env.DOCUSAURUS_CURRENT_LOCALE === defaultLocale
process.env.DOCUSAURUS_CURRENT_LOCALE === defaultLocale && !isBuildFast
? 'throw'
: 'warn',
onBrokenMarkdownLinks: 'warn',
Expand Down

0 comments on commit 683fe37

Please sign in to comment.