From 81d30a4712d4ce601581d17a5c7b1fbee92b6b51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lorber?= Date: Thu, 5 Oct 2023 12:30:27 +0200 Subject: [PATCH] chore: fix i18n staging deployment error (#9374) --- 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(),