From 683fe378067b133b0ec193784617132ff92e2325 Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Mon, 2 Oct 2023 14:00:11 -0400 Subject: [PATCH] chore: do not error on broken links when doing test build (#9363) --- website/docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',