Skip to content

Commit c79b3dd

Browse files
authored
chore: move APISIX 3.9 docs to archives (#1905)
1 parent 8ef6a04 commit c79b3dd

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

config/apisix-versions.js

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* @type {Array<string>} version list
55
*/
6-
const versions = ['3.9', '3.10', '3.11', '3.12'];
6+
const versions = ['3.10', '3.11', '3.12'];
77

88
/**
99
* @type {Array<string>} LTS version list
@@ -21,6 +21,10 @@ const versionMap = {
2121
* @type {Array<{label: string, href: string}>}
2222
*/
2323
const archivedVersions = [
24+
{
25+
label: '3.9',
26+
href: 'https://apache-apisix.netlify.app/docs/apisix/3.9/getting-started/readme/',
27+
},
2428
{
2529
label: '3.8',
2630
href: 'https://apache-apisix.netlify.app/docs/apisix/3.8/getting-started/readme/',
@@ -75,35 +79,35 @@ const archivedVersions = [
7579
},
7680
{
7781
label: '2.11',
78-
href: 'https://625a9090d04b9a6953165811--2-11-old-docs-apache-apisix.netlify.app/docs/apisix/getting-started/',
82+
href: 'https://apache-apisix.netlify.app/docs/apisix/2.11/getting-started/',
7983
},
8084
{
8185
label: '2.10',
82-
href: 'https://625a9090d04b9a6953165811--2-11-old-docs-apache-apisix.netlify.app/docs/apisix/2.10/getting-started/',
86+
href: 'https://apache-apisix.netlify.app/docs/apisix/2.10/getting-started/',
8387
},
8488
{
8589
label: '2.9',
86-
href: 'https://625a57e513f19e48ae3a4468--old-docs-apache-apisix.netlify.app/docs/apisix/getting-started/',
90+
href: 'https://apache-apisix.netlify.app/docs/apisix/2.9/getting-started/',
8791
},
8892
{
8993
label: '2.8',
90-
href: 'https://625a57e513f19e48ae3a4468--old-docs-apache-apisix.netlify.app/docs/apisix/2.8/getting-started/',
94+
href: 'https://apache-apisix.netlify.app/docs/apisix/2.8/getting-started/',
9195
},
9296
{
9397
label: '2.7',
94-
href: 'https://625a57e513f19e48ae3a4468--old-docs-apache-apisix.netlify.app/docs/apisix/2.7/getting-started/',
98+
href: 'https://apache-apisix.netlify.app/docs/apisix/2.7/getting-started/',
9599
},
96100
{
97101
label: '2.6',
98-
href: 'https://625a57e513f19e48ae3a4468--old-docs-apache-apisix.netlify.app/docs/apisix/2.6/getting-started/',
102+
href: 'https://apache-apisix.netlify.app/docs/apisix/2.6/getting-started/',
99103
},
100104
{
101105
label: '2.5',
102-
href: 'https://625a57e513f19e48ae3a4468--old-docs-apache-apisix.netlify.app/docs/apisix/2.5/getting-started/',
106+
href: 'https://apache-apisix.netlify.app/docs/apisix/2.5/getting-started/',
103107
},
104108
{
105109
label: '2.4',
106-
href: 'https://625a57e513f19e48ae3a4468--old-docs-apache-apisix.netlify.app/docs/apisix/2.4/getting-started/',
110+
href: 'https://apache-apisix.netlify.app/docs/apisix/2.4/getting-started/',
107111
},
108112
];
109113

0 commit comments

Comments
 (0)