From 2e9ae37215ec9ef50e8c0bc87cd76c8272374195 Mon Sep 17 00:00:00 2001 From: Qi Zhang Date: Mon, 7 Nov 2022 11:49:28 +0800 Subject: [PATCH] docs: Archiving Signed-off-by: Qi Zhang --- docusaurus.config.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index e9b0f10403..97431d5521 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -44,7 +44,7 @@ const config = { lastVersion: 'current', versions: { current: { - label: 'Current' + label: 'V5.9' } } }, @@ -140,7 +140,13 @@ const config = { href: versionUrl, }), ), - ] + ], + dropdownItemsBefore: [ + { + label: 'Current', + href: 'https://www.rainbond.com/docs/', + } + ], }, { position: 'right', @@ -299,7 +305,7 @@ const config = { announcementBar: { id: 'start', content: - '⭐️ If you like Rainbond, give it a star on GitHub !', + '⭐️ If you like Rainbond, give it a star on GitHub ! Please visit the latest version of the documentation', isCloseable: false, } }),