Skip to content

Commit

Permalink
chore: fix i18n staging deployment error (#9374)
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber authored Oct 5, 2023
1 parent bca3752 commit 81d30a4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,11 @@ module.exports = async function createConfigAsync() {
rehypePlugins: [(await import('rehype-katex')).default],
disableVersioning: isVersioningDisabled,
lastVersion:
isDev || isDeployPreview || isBranchDeploy || isBuildFast
isDev ||
isVersioningDisabled ||
isDeployPreview ||
isBranchDeploy ||
isBuildFast
? 'current'
: getLastVersion(),

Expand Down

0 comments on commit 81d30a4

Please sign in to comment.