You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sh...@apache.org on 2021/06/22 19:44:11 UTC

[apisix-website] branch master updated: feat: added apisix-java-plugin-runner (#373)

This is an automated email from the ASF dual-hosted git repository.

shuyangw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 4b31a46  feat: added apisix-java-plugin-runner (#373)
4b31a46 is described below

commit 4b31a461b62f29e46d6f1a1fe0da051c5f9125ca
Author: Ayush das <ay...@gmail.com>
AuthorDate: Wed Jun 23 01:14:03 2021 +0530

    feat: added apisix-java-plugin-runner (#373)
---
 common.js                                          |  2 +-
 .../docs/apisix-java-plugin-runner/IGNORE_DOC.md   |  1 +
 .../docs/apisix-java-plugin-runner/sidebars.json   |  3 ++
 website/docusaurus.config.js                       | 37 +++++++++++++++++++++-
 website/src/assets/icons/star-solid.svg            |  1 +
 website/src/pages/docs.js                          |  5 ++-
 6 files changed, 46 insertions(+), 3 deletions(-)

diff --git a/common.js b/common.js
index 05b5dee..57aeba6 100644
--- a/common.js
+++ b/common.js
@@ -1,4 +1,4 @@
-const projects = ["apisix-ingress-controller", "apisix", "apisix-dashboard", "apisix-docker", "apisix-helm-chart"];
+const projects = ["apisix-ingress-controller", "apisix", "apisix-dashboard", "apisix-docker", "apisix-helm-chart", "apisix-java-plugin-runner"];
 const languages = ["en", "zh", "es"];
 
 module.exports = {
diff --git a/website/docs/apisix-java-plugin-runner/IGNORE_DOC.md b/website/docs/apisix-java-plugin-runner/IGNORE_DOC.md
new file mode 100644
index 0000000..cb65e30
--- /dev/null
+++ b/website/docs/apisix-java-plugin-runner/IGNORE_DOC.md
@@ -0,0 +1 @@
+# IGNORE_DOC
diff --git a/website/docs/apisix-java-plugin-runner/sidebars.json b/website/docs/apisix-java-plugin-runner/sidebars.json
new file mode 100644
index 0000000..b0cd5aa
--- /dev/null
+++ b/website/docs/apisix-java-plugin-runner/sidebars.json
@@ -0,0 +1,3 @@
+{
+  "docs": {}
+}
diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js
index 735ba54..55523b6 100644
--- a/website/docusaurus.config.js
+++ b/website/docusaurus.config.js
@@ -70,9 +70,19 @@ module.exports = {
         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-06-23",
+        firstDocPath: "/development",
       }
     ],
-    
     downloads: [
       {
         name: "APISIX™",
@@ -119,6 +129,7 @@ module.exports = {
       "apache/apisix-ingress-controller",
       "apache/apisix-helm-chart",
       "apache/apisix-control-plane",
+      "apache/apisix-java-plugin-runner"
     ],
   },
   i18n: {
@@ -276,6 +287,26 @@ module.exports = {
         },
       },
     ],
+    [
+      "@docusaurus/plugin-content-docs",
+      {
+        id: "docs-apisix-java-plugin-runner",
+        path: "docs/apisix-java-plugin-runner",
+        showLastUpdateAuthor: true,
+        showLastUpdateTime: true,
+        routeBasePath: "/docs/java-plugin-runner",
+        sidebarPath: require.resolve("./docs/apisix-java-plugin-runner/sidebars.json"),
+        editUrl: function ({
+          locale,
+          version,
+          versionDocsDirPath,
+          docPath,
+          permalink,
+        }) {
+          return `https://github.com/apache/apisix-java-plugin-runner/edit/main/docs/en/latest/${docPath}`;
+        },
+      },
+    ],
   ],
   themeConfig: {
     navbar: {
@@ -311,6 +342,10 @@ module.exports = {
               to: "/docs/docker/build/",
             },
             {
+              label: "Apache™️ APISIX Java Plugin Runner",
+              to: "/docs/apisix-java-plugin-runner/development/"
+            },
+            {
               label: "General",
               to: "/docs/general/security",
             },
diff --git a/website/src/assets/icons/star-solid.svg b/website/src/assets/icons/star-solid.svg
new file mode 100644
index 0000000..ce74416
--- /dev/null
+++ b/website/src/assets/icons/star-solid.svg
@@ -0,0 +1 @@
+<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="star" class="svg-inline--fa fa-star fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="currentColor" d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"></path></svg>
\ No newline at end of file
diff --git a/website/src/pages/docs.js b/website/src/pages/docs.js
index 3af862b..39f768b 100644
--- a/website/src/pages/docs.js
+++ b/website/src/pages/docs.js
@@ -9,6 +9,7 @@ import IconSquare from "../assets/icons/square.svg";
 import IconHexagon from "../assets/icons/hexagon.svg";
 import IconPentagon from "../assets/icons/pentagon.svg";
 import IconDiamond from "../assets/icons/diamond.svg";
+import IconStar from "../assets/icons/star-solid.svg";
 
 const Page = styled.div`
   max-width: var(--ifm-container-width);
@@ -121,8 +122,10 @@ const ProjectCard = (props) => {
       <IconDiamond />
     ) : shape === "square" ? (
       <IconSquare />
-    ) : (
+    ) : shape === "hexagon" ? (
       <IconHexagon />
+    ) : (
+      <IconStar />
     );
 
   return (