From 6e103df80b11f34c62ec561b5f0f9d267557a983 Mon Sep 17 00:00:00 2001 From: sebastienlorber Date: Thu, 5 Oct 2023 12:21:23 +0200 Subject: [PATCH] Fix i18n staging deployment error --- website/docusaurus.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index c39a883b374d..0531c2c93b24 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -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(),