This is an automated email from the ASF dual-hosted git repository.
sunyi 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 49dc92a feat: support to load other projects (#277)
49dc92a is described below
commit 49dc92a2f0053d5d203f6e93704de96910070d40
Author: 琚致远 <[email protected]>
AuthorDate: Wed Mar 31 12:07:38 2021 +0800
feat: support to load other projects (#277)
---
common.js | 3 +--
sync-docs.js | 5 +++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/common.js b/common.js
index 64fcb8e..05b5dee 100644
--- a/common.js
+++ b/common.js
@@ -1,5 +1,4 @@
-// NOTE: disable "apisix-docker" "apisix-helm-chart" currently
-const projects = ["apisix-ingress-controller", "apisix", "apisix-dashboard"];
+const projects = ["apisix-ingress-controller", "apisix", "apisix-dashboard",
"apisix-docker", "apisix-helm-chart"];
const languages = ["en", "zh", "es"];
module.exports = {
diff --git a/sync-docs.js b/sync-docs.js
index 4e937c0..7b7999a 100644
--- a/sync-docs.js
+++ b/sync-docs.js
@@ -3,9 +3,10 @@ console.log("Start sync-docs.js");
const childProcess = require("child_process");
const fs = require("fs");
const path = require("path");
+const common = require("./common.js");
-const projects = ["apisix-ingress-controller", "apisix", "apisix-dashboard",
"apisix-helm-chart", "apisix-docker"];
-const langs = ["en", "zh", "es"];
+const projects = common.projects;
+const langs = common.languages;
const projectPaths = projects.map((project) => {
return {