From 0e6d494bba30d47dc430481d475fb747a54fc86d Mon Sep 17 00:00:00 2001 From: Qi Zhang Date: Thu, 23 Mar 2023 21:30:05 +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 0aa362ab92..4159eb424c 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -44,7 +44,7 @@ const config = { lastVersion: 'current', versions: { current: { - label: 'Current' + label: 'V5.12' } } }, @@ -192,7 +192,13 @@ const config = { href: versionUrl, }), ), - ] + ], + dropdownItemsBefore: [ + { + label: 'Current', + href: 'https://www.rainbond.com/docs/', + } + ], }, { position: 'right', @@ -347,7 +353,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, } }),