mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-02-13 21:00:00 +00:00
Add docs for v2.7.0 (#3921)
This commit is contained in:
@@ -34,7 +34,7 @@ const config: Config = {
|
||||
items: [
|
||||
{
|
||||
type: 'doc',
|
||||
docId: 'intro',
|
||||
docId: 'intro/index',
|
||||
activeBaseRegex: 'docs/(?!migrations|awesome)',
|
||||
position: 'left',
|
||||
label: 'Docs',
|
||||
@@ -104,7 +104,7 @@ const config: Config = {
|
||||
},
|
||||
{
|
||||
label: 'Server setup',
|
||||
to: '/docs/administration/deployment/overview',
|
||||
to: '/docs/administration/getting-started',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -236,25 +236,25 @@ const config: Config = {
|
||||
sidebarPath: require.resolve('./sidebars.js'),
|
||||
editUrl: 'https://github.com/woodpecker-ci/woodpecker/edit/main/docs/',
|
||||
includeCurrentVersion: true,
|
||||
lastVersion: '2.6',
|
||||
lastVersion: '2.7',
|
||||
onlyIncludeVersions:
|
||||
process.env.NODE_ENV === 'development' ? ['current', '2.6'] : ['current', '2.6', '2.5', '2.4', '1.0'],
|
||||
process.env.NODE_ENV === 'development' ? ['current', '2.7'] : ['current', '2.7', '2.6', '2.5', '1.0'],
|
||||
versions: {
|
||||
current: {
|
||||
label: 'Next 🚧',
|
||||
banner: 'unreleased',
|
||||
},
|
||||
'2.7': {
|
||||
label: '2.7.x',
|
||||
},
|
||||
'2.6': {
|
||||
label: '2.6.x',
|
||||
label: '2.6.x 💀',
|
||||
banner: 'unmaintained',
|
||||
},
|
||||
'2.5': {
|
||||
label: '2.5.x 💀',
|
||||
banner: 'unmaintained',
|
||||
},
|
||||
'2.4': {
|
||||
label: '2.4.x 💀',
|
||||
banner: 'unmaintained',
|
||||
},
|
||||
'1.0': {
|
||||
label: '1.0.x 💀',
|
||||
banner: 'unmaintained',
|
||||
|
||||
Reference in New Issue
Block a user