diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 0cbbaeae23c3..c39a883b374d 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -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',