From ecde89c7c79dddb045dd04705bdd0a54ca6b3378 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Tue, 7 May 2024 13:26:37 +0800 Subject: [PATCH] [repo] Show next version number alongside branch name in dropdown --- docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 0de6145536..e684d2a760 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -31,7 +31,7 @@ const versionConfig = Object.fromEntries(Versions.map((version) => [version, { banner: 'none', }])); versionConfig.current = { - label: 'main', + label: `main (${nextVersion.nextVersion})`, banner: 'none', path: nextVersion.nextVersion, };