Skip to content

Commit

Permalink
updated versioning to remove Next and to make it 2.0.0 and the latest…
Browse files Browse the repository at this point in the history
… version
  • Loading branch information
harishkotra committed Jan 9, 2025
1 parent 24bf2bc commit 3eb0cb3
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
7 changes: 7 additions & 0 deletions versionArchived.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"1.0.0": {
"label": "1.0.0",
"path": "1.0.0",
"banner": "none"
}
}
1 change: 1 addition & 0 deletions versions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[
"current",
"1.0.0"
]

0 comments on commit 3eb0cb3

Please sign in to comment.