Skip to content

Commit 3f9cc8e

Browse files
authored
chore: adjust docusaurus.config.js (#742)
1 parent 1d287b2 commit 3f9cc8e

File tree

8 files changed

+508
-496
lines changed

8 files changed

+508
-496
lines changed

website/config/docs.js

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
module.exports = [
2+
{
3+
name: "APISIX®",
4+
nameInParamCase: "apisix",
5+
description: "A dynamic, real-time, high-performance API gateway.",
6+
shape: "triangle",
7+
color: "#e8433e",
8+
githubRepo: "apache/apisix",
9+
version: "2.10.1",
10+
releaseDate: "2021-10-28",
11+
firstDocPath: "/getting-started",
12+
},
13+
{
14+
name: "APISIX® Dashboard",
15+
nameInParamCase: "dashboard",
16+
description:
17+
"Designed to make it as easy as possible for users to operate Apache APISIX through a frontend interface.",
18+
shape: "square",
19+
color: "#10B981",
20+
githubRepo: "apache/apisix-dashboard",
21+
version: "2.9.0",
22+
releaseDate: "2021-10-08",
23+
firstDocPath: "/USER_GUIDE",
24+
},
25+
{
26+
name: "APISIX® Ingress Controller",
27+
nameInParamCase: "ingress-controller",
28+
description: "An Apache APISIX control plane component.",
29+
shape: "hexagon",
30+
color: "#2563EB",
31+
githubRepo: "apache/apisix-ingress-controller",
32+
version: "1.3.0",
33+
releaseDate: "2021-10-17",
34+
firstDocPath: "/getting-started",
35+
},
36+
{
37+
name: "APISIX® Helm Charts",
38+
nameInParamCase: "helm-chart",
39+
description: "An Apache APISIX Helm Charts provide the installation of Apache APISIX components for kubernetes.",
40+
shape: "pentagon",
41+
color: "#C71585",
42+
githubRepo: "apache/apisix-helm-chart",
43+
version: "0.4.0",
44+
releaseDate: "2021-03-12",
45+
firstDocPath: "/apisix",
46+
},
47+
{
48+
name: "APISIX® Docker",
49+
nameInParamCase: "docker",
50+
description: "Docker tooling for Apache APISIX.",
51+
shape: "diamond",
52+
color: "#FFD700",
53+
githubRepo: "apache/apisix-docker",
54+
version: "1.0.0",
55+
releaseDate: "2020-12-1",
56+
firstDocPath: "/build",
57+
},
58+
{
59+
name: "APISIX® Java Plugin Runner",
60+
nameInParamCase: "java-plugin-runner",
61+
description: "Runs Apache APISIX plugins written in Java. Implemented as a sidecar that accompanies Apache APISIX.",
62+
shape: "star",
63+
color: "#FB9300",
64+
githubRepo: "apache/apisix-java-plugin-runner",
65+
version: "0.1.0",
66+
releaseDate: "2021-07-09",
67+
firstDocPath: "/development",
68+
},
69+
{
70+
name: "APISIX® Go Plugin Runner",
71+
nameInParamCase: "go-plugin-runner",
72+
description: "Runs Apache APISIX plugins written in Go. Implemented as a sidecar that accompanies Apache APISIX.",
73+
shape: "octagon",
74+
color: "#3B14A7",
75+
githubRepo: "apache/apisix-go-plugin-runner",
76+
version: "0.2.0",
77+
releaseDate: "2021-09-03",
78+
firstDocPath: "/getting-started",
79+
},
80+
{
81+
name: "APISIX® Python Plugin Runner",
82+
nameInParamCase: "python-plugin-runner",
83+
description: "Runs Apache APISIX plugins written in Python. Implemented as a sidecar that accompanies Apache APISIX.",
84+
shape: "shield",
85+
color: "#1296DB",
86+
githubRepo: "apache/apisix-python-plugin-runner",
87+
version: "0.1.0",
88+
releaseDate: "2021-09-03",
89+
firstDocPath: "/getting-started",
90+
}
91+
]

website/config/downloads.js

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
module.exports = [
2+
{
3+
name: "APISIX®",
4+
nameInParamCase: "apisix",
5+
description: "A dynamic, real-time, high-performance API gateway.",
6+
shape: "triangle",
7+
color: "#e8433e",
8+
githubRepo: "apache/apisix",
9+
githubBranch: "master",
10+
downloadPath: "apisix/2.10.1/apache-apisix-2.10.1-src",
11+
version: "2.10.1",
12+
releaseDate: "2021-10-28",
13+
firstDocPath: "/getting-started",
14+
},
15+
{
16+
name: "APISIX® Dashboard",
17+
nameInParamCase: "dashboard",
18+
description:
19+
"Designed to make it as easy as possible for users to operate Apache APISIX through a frontend interface.",
20+
shape: "square",
21+
color: "#10B981",
22+
githubRepo: "apache/apisix-dashboard",
23+
githubBranch: "master",
24+
downloadPath: "apisix/dashboard/2.9.0/apache-apisix-dashboard-2.9.0-src",
25+
version: "2.9.0",
26+
releaseDate: "2021-10-08",
27+
firstDocPath: "/USER_GUIDE",
28+
},
29+
{
30+
name: "APISIX® Ingress Controller",
31+
nameInParamCase: "ingress-controller",
32+
description: "An Apache APISIX control plane component.",
33+
shape: "hexagon",
34+
color: "#2563EB",
35+
githubRepo: "apache/apisix-ingress-controller",
36+
githubBranch: "master",
37+
downloadPath: "apisix/ingress-controller/1.2.0/apache-apisix-ingress-controller-1.2.0-src",
38+
version: "1.3.0",
39+
releaseDate: "2021-10-17",
40+
firstDocPath: "/getting-started",
41+
},
42+
{
43+
name: "APISIX® Java Plugin Runner",
44+
nameInParamCase: "java-plugin-runner",
45+
description: "Runs Apache APISIX plugins written in Java. Implemented as a sidecar that accompanies Apache APISIX.",
46+
shape: "star",
47+
color: "#FB9300",
48+
githubRepo: "apache/apisix-java-plugin-runner",
49+
githubBranch: "main",
50+
downloadPath: "apisix/java-plugin-runner/0.1/apisix-java-plugin-runner-0.1.0-src",
51+
version: "0.1.0",
52+
releaseDate: "2021-07-09",
53+
firstDocPath: "/development",
54+
},
55+
{
56+
name: "APISIX® Go Plugin Runner",
57+
nameInParamCase: "go-plugin-runner",
58+
description: "Runs Apache APISIX plugins written in Go. Implemented as a sidecar that accompanies Apache APISIX.",
59+
shape: "octagon",
60+
color: "#3B14A7",
61+
githubRepo: "apache/apisix-go-plugin-runner",
62+
githubBranch: "master",
63+
downloadPath: "apisix/go-plugin-runner/0.2.0/apisix-go-plugin-runner-0.2.0-src",
64+
version: "0.2.0",
65+
releaseDate: "2021-09-03",
66+
firstDocPath: "/getting-started",
67+
},
68+
{
69+
name: "APISIX® Python Plugin Runner",
70+
nameInParamCase: "python-plugin-runner",
71+
description: "Runs Apache APISIX plugins written in Python. Implemented as a sidecar that accompanies Apache APISIX.",
72+
shape: "shield",
73+
color: "#1296DB",
74+
githubRepo: "apache/apisix-python-plugin-runner",
75+
githubBranch: "master",
76+
downloadPath: "apisix/python-plugin-runner/0.1.0/apisix-python-plugin-runner-0.1.0-src",
77+
version: "0.1.0",
78+
releaseDate: "2021-09-06",
79+
firstDocPath: "/getting-started",
80+
}
81+
]

website/config/navbar.js

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
module.exports = [
2+
{
3+
label: "Docs",
4+
position: "right",
5+
to: "/docs",
6+
items: [
7+
{
8+
label: "Apache APISIX®️",
9+
to: "/docs/apisix/getting-started",
10+
},
11+
{
12+
label: "Apache APISIX®️ Dashboard",
13+
to: "/docs/dashboard/USER_GUIDE",
14+
},
15+
{
16+
label: "Apache APISIX®️ Ingress Controller",
17+
to: "/docs/ingress-controller/getting-started/",
18+
},
19+
{
20+
label: "Apache APISIX®️ Helm Charts",
21+
to: "/docs/helm-chart/apisix/",
22+
},
23+
{
24+
label: "Apache APISIX®️ Docker",
25+
to: "/docs/docker/build/",
26+
},
27+
{
28+
label: "Apache APISIX®️ Java Plugin Runner",
29+
to: "/docs/java-plugin-runner/development/"
30+
},
31+
{
32+
label: "Apache APISIX®️ Go Plugin Runner",
33+
to: "/docs/go-plugin-runner/getting-started/"
34+
},
35+
{
36+
label: "Apache APISIX®️ Python Plugin Runner",
37+
to: "/docs/python-plugin-runner/getting-started/"
38+
},
39+
{
40+
label: "General",
41+
to: "/docs/general/security",
42+
},
43+
],
44+
},
45+
{
46+
label: "FAQ",
47+
position: "right",
48+
items: [
49+
{
50+
label: "Apache APISIX®",
51+
to: "/docs/apisix/FAQ/",
52+
},
53+
{
54+
label: "Apache APISIX® Dashboard",
55+
to: "/docs/dashboard/FAQ/",
56+
},
57+
{
58+
label: "Apache APISIX® Ingress Controller",
59+
to: "/docs/ingress-controller/FAQ/",
60+
},
61+
{
62+
label: "Apache APISIX® Helm Chart",
63+
to: "/docs/helm-chart/FAQ/",
64+
},
65+
]
66+
},
67+
{
68+
to: "/blog",
69+
label: "Blog",
70+
position: "right",
71+
},
72+
{
73+
to: "/downloads",
74+
label: "Downloads",
75+
position: "right",
76+
},
77+
{
78+
to: "/team",
79+
label: "Team",
80+
position: "right",
81+
},
82+
{
83+
label: "Resources",
84+
position: "right",
85+
items: [
86+
{
87+
to: "/docs/general/community",
88+
label: "Community"
89+
},
90+
{
91+
to: "/plugins",
92+
label: "Plugin Hub",
93+
},
94+
{
95+
to: "/releases",
96+
label: "Releases",
97+
},
98+
{
99+
to: "/help",
100+
label: "Help",
101+
},
102+
]
103+
},
104+
{
105+
to: "/showcase",
106+
label: "Showcase",
107+
position: "right",
108+
},
109+
{
110+
type: "localeDropdown",
111+
position: "right",
112+
},
113+
]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[
1+
module.exports = [
22
{
33
"groupName": "PMC",
44
"members": [

0 commit comments

Comments
 (0)