Skip to content

Commit

Permalink
chore: adjust docusaurus.config.js (#742)
Browse files Browse the repository at this point in the history
  • Loading branch information
juzhiyuan authored Nov 18, 2021
1 parent 1d287b2 commit 3f9cc8e
Show file tree
Hide file tree
Showing 8 changed files with 508 additions and 496 deletions.
91 changes: 91 additions & 0 deletions website/config/docs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
module.exports = [
{
name: "APISIX®",
nameInParamCase: "apisix",
description: "A dynamic, real-time, high-performance API gateway.",
shape: "triangle",
color: "#e8433e",
githubRepo: "apache/apisix",
version: "2.10.1",
releaseDate: "2021-10-28",
firstDocPath: "/getting-started",
},
{
name: "APISIX® Dashboard",
nameInParamCase: "dashboard",
description:
"Designed to make it as easy as possible for users to operate Apache APISIX through a frontend interface.",
shape: "square",
color: "#10B981",
githubRepo: "apache/apisix-dashboard",
version: "2.9.0",
releaseDate: "2021-10-08",
firstDocPath: "/USER_GUIDE",
},
{
name: "APISIX® Ingress Controller",
nameInParamCase: "ingress-controller",
description: "An Apache APISIX control plane component.",
shape: "hexagon",
color: "#2563EB",
githubRepo: "apache/apisix-ingress-controller",
version: "1.3.0",
releaseDate: "2021-10-17",
firstDocPath: "/getting-started",
},
{
name: "APISIX® Helm Charts",
nameInParamCase: "helm-chart",
description: "An Apache APISIX Helm Charts provide the installation of Apache APISIX components for kubernetes.",
shape: "pentagon",
color: "#C71585",
githubRepo: "apache/apisix-helm-chart",
version: "0.4.0",
releaseDate: "2021-03-12",
firstDocPath: "/apisix",
},
{
name: "APISIX® Docker",
nameInParamCase: "docker",
description: "Docker tooling for Apache APISIX.",
shape: "diamond",
color: "#FFD700",
githubRepo: "apache/apisix-docker",
version: "1.0.0",
releaseDate: "2020-12-1",
firstDocPath: "/build",
},
{
name: "APISIX® Java Plugin Runner",
nameInParamCase: "java-plugin-runner",
description: "Runs Apache APISIX plugins written in Java. Implemented as a sidecar that accompanies Apache APISIX.",
shape: "star",
color: "#FB9300",
githubRepo: "apache/apisix-java-plugin-runner",
version: "0.1.0",
releaseDate: "2021-07-09",
firstDocPath: "/development",
},
{
name: "APISIX® Go Plugin Runner",
nameInParamCase: "go-plugin-runner",
description: "Runs Apache APISIX plugins written in Go. Implemented as a sidecar that accompanies Apache APISIX.",
shape: "octagon",
color: "#3B14A7",
githubRepo: "apache/apisix-go-plugin-runner",
version: "0.2.0",
releaseDate: "2021-09-03",
firstDocPath: "/getting-started",
},
{
name: "APISIX® Python Plugin Runner",
nameInParamCase: "python-plugin-runner",
description: "Runs Apache APISIX plugins written in Python. Implemented as a sidecar that accompanies Apache APISIX.",
shape: "shield",
color: "#1296DB",
githubRepo: "apache/apisix-python-plugin-runner",
version: "0.1.0",
releaseDate: "2021-09-03",
firstDocPath: "/getting-started",
}
]
81 changes: 81 additions & 0 deletions website/config/downloads.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
module.exports = [
{
name: "APISIX®",
nameInParamCase: "apisix",
description: "A dynamic, real-time, high-performance API gateway.",
shape: "triangle",
color: "#e8433e",
githubRepo: "apache/apisix",
githubBranch: "master",
downloadPath: "apisix/2.10.1/apache-apisix-2.10.1-src",
version: "2.10.1",
releaseDate: "2021-10-28",
firstDocPath: "/getting-started",
},
{
name: "APISIX® Dashboard",
nameInParamCase: "dashboard",
description:
"Designed to make it as easy as possible for users to operate Apache APISIX through a frontend interface.",
shape: "square",
color: "#10B981",
githubRepo: "apache/apisix-dashboard",
githubBranch: "master",
downloadPath: "apisix/dashboard/2.9.0/apache-apisix-dashboard-2.9.0-src",
version: "2.9.0",
releaseDate: "2021-10-08",
firstDocPath: "/USER_GUIDE",
},
{
name: "APISIX® Ingress Controller",
nameInParamCase: "ingress-controller",
description: "An Apache APISIX control plane component.",
shape: "hexagon",
color: "#2563EB",
githubRepo: "apache/apisix-ingress-controller",
githubBranch: "master",
downloadPath: "apisix/ingress-controller/1.2.0/apache-apisix-ingress-controller-1.2.0-src",
version: "1.3.0",
releaseDate: "2021-10-17",
firstDocPath: "/getting-started",
},
{
name: "APISIX® Java Plugin Runner",
nameInParamCase: "java-plugin-runner",
description: "Runs Apache APISIX plugins written in Java. Implemented as a sidecar that accompanies Apache APISIX.",
shape: "star",
color: "#FB9300",
githubRepo: "apache/apisix-java-plugin-runner",
githubBranch: "main",
downloadPath: "apisix/java-plugin-runner/0.1/apisix-java-plugin-runner-0.1.0-src",
version: "0.1.0",
releaseDate: "2021-07-09",
firstDocPath: "/development",
},
{
name: "APISIX® Go Plugin Runner",
nameInParamCase: "go-plugin-runner",
description: "Runs Apache APISIX plugins written in Go. Implemented as a sidecar that accompanies Apache APISIX.",
shape: "octagon",
color: "#3B14A7",
githubRepo: "apache/apisix-go-plugin-runner",
githubBranch: "master",
downloadPath: "apisix/go-plugin-runner/0.2.0/apisix-go-plugin-runner-0.2.0-src",
version: "0.2.0",
releaseDate: "2021-09-03",
firstDocPath: "/getting-started",
},
{
name: "APISIX® Python Plugin Runner",
nameInParamCase: "python-plugin-runner",
description: "Runs Apache APISIX plugins written in Python. Implemented as a sidecar that accompanies Apache APISIX.",
shape: "shield",
color: "#1296DB",
githubRepo: "apache/apisix-python-plugin-runner",
githubBranch: "master",
downloadPath: "apisix/python-plugin-runner/0.1.0/apisix-python-plugin-runner-0.1.0-src",
version: "0.1.0",
releaseDate: "2021-09-06",
firstDocPath: "/getting-started",
}
]
113 changes: 113 additions & 0 deletions website/config/navbar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
module.exports = [
{
label: "Docs",
position: "right",
to: "/docs",
items: [
{
label: "Apache APISIX®️",
to: "/docs/apisix/getting-started",
},
{
label: "Apache APISIX®️ Dashboard",
to: "/docs/dashboard/USER_GUIDE",
},
{
label: "Apache APISIX®️ Ingress Controller",
to: "/docs/ingress-controller/getting-started/",
},
{
label: "Apache APISIX®️ Helm Charts",
to: "/docs/helm-chart/apisix/",
},
{
label: "Apache APISIX®️ Docker",
to: "/docs/docker/build/",
},
{
label: "Apache APISIX®️ Java Plugin Runner",
to: "/docs/java-plugin-runner/development/"
},
{
label: "Apache APISIX®️ Go Plugin Runner",
to: "/docs/go-plugin-runner/getting-started/"
},
{
label: "Apache APISIX®️ Python Plugin Runner",
to: "/docs/python-plugin-runner/getting-started/"
},
{
label: "General",
to: "/docs/general/security",
},
],
},
{
label: "FAQ",
position: "right",
items: [
{
label: "Apache APISIX®",
to: "/docs/apisix/FAQ/",
},
{
label: "Apache APISIX® Dashboard",
to: "/docs/dashboard/FAQ/",
},
{
label: "Apache APISIX® Ingress Controller",
to: "/docs/ingress-controller/FAQ/",
},
{
label: "Apache APISIX® Helm Chart",
to: "/docs/helm-chart/FAQ/",
},
]
},
{
to: "/blog",
label: "Blog",
position: "right",
},
{
to: "/downloads",
label: "Downloads",
position: "right",
},
{
to: "/team",
label: "Team",
position: "right",
},
{
label: "Resources",
position: "right",
items: [
{
to: "/docs/general/community",
label: "Community"
},
{
to: "/plugins",
label: "Plugin Hub",
},
{
to: "/releases",
label: "Releases",
},
{
to: "/help",
label: "Help",
},
]
},
{
to: "/showcase",
label: "Showcase",
position: "right",
},
{
type: "localeDropdown",
position: "right",
},
]
2 changes: 1 addition & 1 deletion website/static/data/team.json → website/config/team.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[
module.exports = [
{
"groupName": "PMC",
"members": [
Expand Down
Loading

0 comments on commit 3f9cc8e

Please sign in to comment.