add 1.19 back in

This commit is contained in:
techknowlogick
2023-07-19 13:40:14 -04:00
parent cf21dd155f
commit 0105968d98
3 changed files with 7 additions and 8 deletions
+5 -6
View File
@@ -93,14 +93,13 @@ const config = {
banner: 'unreleased',
},
'1.20': {
label: '1.20.0-rc2',
banner: 'none',
label: '1.20.0'
},
'1.19': {
label: '1.19.4',
}
},
lastVersion: '1.19',
lastVersion: '1.20',
async sidebarItemsGenerator({defaultSidebarItemsGenerator, ...args}) {
const {item} = args;
// Use the provided data to generate a custom sidebar slice
@@ -163,7 +162,7 @@ const config = {
label: 'Docs',
},
{
to: '/api/1.19/',
to: '/api/1.20/',
label: 'API',
position: 'left',
activeBaseRegex: 'api/(1.19|1.20|next)/',
@@ -181,7 +180,7 @@ const config = {
position: 'right',
items: [
{to: '/api/next/', label: '1.21-dev' },
{to: '/api/1.20/', label: '1.20.0-rc2' },
{to: '/api/1.20/', label: '1.20.0' },
{to: '/api/1.19/', label: '1.19.4' },
],
},
@@ -211,7 +210,7 @@ const config = {
},
{
href: 'https://gitea.com/user/login',
label: 'Sign In',
label: 'Sign In',
position: 'right',
className: 'internal-href signin-button',
target: '_self',