mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-05 04:12:53 +02:00
chore: disable broken links check for i18n staging (#9375)
This commit is contained in:
parent
81d30a4712
commit
15647a3abd
1 changed files with 5 additions and 4 deletions
|
@ -184,10 +184,11 @@ 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 && !isBuildFast
|
||||
? 'throw'
|
||||
: 'warn',
|
||||
isBuildFast ||
|
||||
isVersioningDisabled ||
|
||||
process.env.DOCUSAURUS_CURRENT_LOCALE !== defaultLocale
|
||||
? 'warn'
|
||||
: 'throw',
|
||||
onBrokenMarkdownLinks: 'warn',
|
||||
favicon: 'img/docusaurus.ico',
|
||||
customFields: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue