From 3eb0cb3dc745062a9c7b0889e5a8579162bd02e2 Mon Sep 17 00:00:00 2001 From: Harish Kotra Date: Thu, 9 Jan 2025 11:11:42 +0530 Subject: [PATCH] updated versioning to remove Next and to make it 2.0.0 and the latest version --- docusaurus.config.js | 13 ++++++++++++- versionArchived.json | 7 +++++++ versions.json | 1 + 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 versionArchived.json diff --git a/docusaurus.config.js b/docusaurus.config.js index a1bffbca..7abed83e 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -119,8 +119,19 @@ const config = { // Remove this to remove the "edit this page" links. editUrl: 'https://github.com/GaiaNet-AI/docs/edit/main', - includeCurrentVersion: true, lastVersion: 'current', + versions: { + current: { + label: '2.0.0', + path: '', + badge: true, + }, + '1.0.0': { + label: '1.0.0', + path: '1.0.0', + banner: 'none', + }, + }, }, theme: { customCss: './src/css/custom.css', diff --git a/versionArchived.json b/versionArchived.json new file mode 100644 index 00000000..22e4d963 --- /dev/null +++ b/versionArchived.json @@ -0,0 +1,7 @@ +{ + "1.0.0": { + "label": "1.0.0", + "path": "1.0.0", + "banner": "none" + } +} \ No newline at end of file diff --git a/versions.json b/versions.json index 5e1abcd8..f9a6fe38 100644 --- a/versions.json +++ b/versions.json @@ -1,3 +1,4 @@ [ + "current", "1.0.0" ]