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(),