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/24 15:55:45 UTC

[apisix-website] branch master updated: Revert "chore: added uniform id's for documentations (#384)" (#386)

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 c8b2015  Revert "chore: added uniform id's for documentations (#384)" (#386)
c8b2015 is described below

commit c8b20151e202d03593d22481f8f60fcd5e2580e6
Author: Ayush das <ay...@gmail.com>
AuthorDate: Thu Jun 24 21:25:37 2021 +0530

    Revert "chore: added uniform id's for documentations (#384)" (#386)
    
    This reverts commit bd72d675e1825199958f126385d3b45fe7a2e7e0.
---
 website/src/theme/DocPage/index.js | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/website/src/theme/DocPage/index.js b/website/src/theme/DocPage/index.js
index ad76124..29e81ee 100644
--- a/website/src/theme/DocPage/index.js
+++ b/website/src/theme/DocPage/index.js
@@ -29,12 +29,11 @@ function DocPageContent({ currentDocRoute, versionMetadata, children }) {
 
   const pageId = {
     general : "General",
-    apisix : "apisix",
-    apisixDashboard : "apisix-dashboard",
-    apisixIngressController : "apisix-ingress-controller",
-    apisixHelmChart : "apisix-helm-chart",
-    apisixDocker : "apisix-docker",
-    apisixJavaPluginRunner : "apisix-java-plugin-runner"
+    apisix : "getting-started",
+    apisixDashboard : "dashboard",
+    apisixIngressController : "what-is-apisix-ingress-controller",
+    apisixHelmChart : "install",
+    apisixDocker : "build-an-image-from-source"
   }
   useEffect(() => {
     if(docsSidebars[sidebarName][0].label === pageId.general){
@@ -49,8 +48,6 @@ 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')