This is an automated email from the ASF dual-hosted git repository.
juzhiyuan 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 1386053 fix: page not found for apisix docker and apisix helm chart
(#282)
1386053 is described below
commit 1386053be66ba69408ce469fd5627ab1abaafa61
Author: Kishani Kandasamy <[email protected]>
AuthorDate: Fri Apr 9 07:55:37 2021 +0530
fix: page not found for apisix docker and apisix helm chart (#282)
Co-authored-by: Ayush das <[email protected]>
---
website/docusaurus.config.js | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js
index 4edc60e..a145992 100644
--- a/website/docusaurus.config.js
+++ b/website/docusaurus.config.js
@@ -50,6 +50,7 @@ module.exports = {
firstDocPath: "/getting-started",
}
],
+
team: require("./static/data/team.json"),
allRepos: [
"apache/apisix",
@@ -170,6 +171,42 @@ module.exports = {
},
},
],
+ [
+ "@docusaurus/plugin-content-docs",
+ {
+ id: "docs-apisix-helm-chart",
+ path: "docs/apisix-helm-chart",
+ routeBasePath: "/docs/helm-chart",
+ sidebarPath: require.resolve("./docs/apisix-helm-chart/sidebars.json"),
+ editUrl: function ({
+ locale,
+ version,
+ versionDocsDirPath,
+ docPath,
+ permalink,
+ }) {
+ return
`https://github.com/apache/apisix-helm-chart/edit/master/docs/${locale}/latest/${docPath}`;
+ },
+ },
+ ],
+ [
+ "@docusaurus/plugin-content-docs",
+ {
+ id: "docs-apisix-docker",
+ path: "docs/apisix-docker",
+ routeBasePath: "/docs/docker",
+ sidebarPath: require.resolve("./docs/apisix-docker/sidebars.json"),
+ editUrl: function ({
+ locale,
+ version,
+ versionDocsDirPath,
+ docPath,
+ permalink,
+ }) {
+ return
`https://github.com/apache/apisix-docker/edit/master/docs/${locale}/latest/${docPath}`;
+ },
+ },
+ ],
],
themeConfig: {
navbar: {