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/28 19:30:19 UTC

[apisix-website] branch master updated: fix: navigation path naming for apisix-java-plugin-runner (#385)

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 38ef79e  fix: navigation path naming for apisix-java-plugin-runner (#385)
38ef79e is described below

commit 38ef79ea4c348fd8dbda21805d248d62768cfbea
Author: Ayush das <ay...@gmail.com>
AuthorDate: Tue Jun 29 01:00:14 2021 +0530

    fix: navigation path naming for apisix-java-plugin-runner (#385)
---
 website/src/theme/DocPage/index.js | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/website/src/theme/DocPage/index.js b/website/src/theme/DocPage/index.js
index 29e81ee..9aea3f3 100644
--- a/website/src/theme/DocPage/index.js
+++ b/website/src/theme/DocPage/index.js
@@ -32,8 +32,9 @@ function DocPageContent({ currentDocRoute, versionMetadata, children }) {
     apisix : "getting-started",
     apisixDashboard : "dashboard",
     apisixIngressController : "what-is-apisix-ingress-controller",
-    apisixHelmChart : "install",
-    apisixDocker : "build-an-image-from-source"
+    apisixHelmChart : "seeking-help",
+    apisixDocker : "build-an-image-from-source",
+    apisixJavaPluginRunner : "overview"
   }
   useEffect(() => {
     if(docsSidebars[sidebarName][0].label === pageId.general){
@@ -48,6 +49,8 @@ function DocPageContent({ currentDocRoute, versionMetadata, children }) {
       document.querySelectorAll(".navbar__link--active")[0].text = "Apache APISIX™ Helm Chart";
     } else if (document.getElementById(pageId.apisixDocker)) {
       document.querySelectorAll(".navbar__link--active")[0].text = "Apache APISIX™ Docker";
+    } else if (document.getElementById(pageId.apisixJavaPluginRunner)) {
+      document.querySelectorAll(".navbar__link--active")[0].text = "Apache APISIX™ Java Plugin Runner";
     }
     return () => {
       console.log('\u{1F680} documentation changed')