mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-24 14:36:59 +02:00
chore: fix i18n staging deployment error (#9374)
This commit is contained in:
parent
bca375238f
commit
81d30a4712
1 changed files with 5 additions and 1 deletions
|
@ -389,7 +389,11 @@ module.exports = async function createConfigAsync() {
|
||||||
rehypePlugins: [(await import('rehype-katex')).default],
|
rehypePlugins: [(await import('rehype-katex')).default],
|
||||||
disableVersioning: isVersioningDisabled,
|
disableVersioning: isVersioningDisabled,
|
||||||
lastVersion:
|
lastVersion:
|
||||||
isDev || isDeployPreview || isBranchDeploy || isBuildFast
|
isDev ||
|
||||||
|
isVersioningDisabled ||
|
||||||
|
isDeployPreview ||
|
||||||
|
isBranchDeploy ||
|
||||||
|
isBuildFast
|
||||||
? 'current'
|
? 'current'
|
||||||
: getLastVersion(),
|
: getLastVersion(),
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue