mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-07 05:12:31 +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:
|
onBrokenLinks:
|
||||||
// Do not fail the build if a localized site has a broken link
|
isBuildFast ||
|
||||||
process.env.DOCUSAURUS_CURRENT_LOCALE === defaultLocale && !isBuildFast
|
isVersioningDisabled ||
|
||||||
? 'throw'
|
process.env.DOCUSAURUS_CURRENT_LOCALE !== defaultLocale
|
||||||
: 'warn',
|
? 'warn'
|
||||||
|
: 'throw',
|
||||||
onBrokenMarkdownLinks: 'warn',
|
onBrokenMarkdownLinks: 'warn',
|
||||||
favicon: 'img/docusaurus.ico',
|
favicon: 'img/docusaurus.ico',
|
||||||
customFields: {
|
customFields: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue