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 56f4d90 fix: added navigation path name for Go Runner (#403)
56f4d90 is described below
commit 56f4d904cf18a1009b1cd67faa3d2f1daa3880f2
Author: Ayush das <[email protected]>
AuthorDate: Tue Jul 13 00:07:27 2021 +0530
fix: added navigation path name for Go Runner (#403)
---
website/src/theme/DocPage/index.js | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/website/src/theme/DocPage/index.js
b/website/src/theme/DocPage/index.js
index 9aea3f3..366d3bb 100644
--- a/website/src/theme/DocPage/index.js
+++ b/website/src/theme/DocPage/index.js
@@ -34,7 +34,8 @@ function DocPageContent({ currentDocRoute, versionMetadata,
children }) {
apisixIngressController : "what-is-apisix-ingress-controller",
apisixHelmChart : "seeking-help",
apisixDocker : "build-an-image-from-source",
- apisixJavaPluginRunner : "overview"
+ apisixJavaPluginRunner : "overview",
+ apisixGoRunner : "prerequisites"
}
useEffect(() => {
if(docsSidebars[sidebarName][0].label === pageId.general){
@@ -51,6 +52,8 @@ function DocPageContent({ currentDocRoute, versionMetadata,
children }) {
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";
+ } else if (document.getElementById(pageId.apisixGoRunner)) {
+ document.querySelectorAll(".navbar__link--active")[0].text = "Apache
APISIX™ Go Plugin Runner";
}
return () => {
console.log('\u{1F680} documentation changed')