You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by su...@apache.org on 2021/02/26 06:04:22 UTC
[apisix-website] branch master updated: fix: deploy issue cause by
sync-docs.js (#209)
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 d34baf3 fix: deploy issue cause by sync-docs.js (#209)
d34baf3 is described below
commit d34baf30a2d4c05bf47a60df63d0d6177e672e4d
Author: qier222 <qi...@outlook.com>
AuthorDate: Fri Feb 26 14:04:13 2021 +0800
fix: deploy issue cause by sync-docs.js (#209)
---
sync-docs.js | 2 +-
website/src/pages/team.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sync-docs.js b/sync-docs.js
index abbe52e..e4cef75 100644
--- a/sync-docs.js
+++ b/sync-docs.js
@@ -77,7 +77,7 @@ const copyDocs = (source, target, projectName, locale) => {
console.log(`[${projectName}] write sidebar.json`);
const sidebar = {
- docs: { ...(configLatest.sidebar || {}) },
+ docs: [...(configLatest.sidebar || {})],
};
fs.writeFileSync(`${target}/sidebars.json`, JSON.stringify(sidebar, null, 2));
};
diff --git a/website/src/pages/team.js b/website/src/pages/team.js
index fa7c56a..15933e6 100644
--- a/website/src/pages/team.js
+++ b/website/src/pages/team.js
@@ -301,7 +301,7 @@ function Team(props) {
APISIX's community actively, PMC and Committers will make decisions
to invite the contributor join Committers and PMC.
</ContributeCardSubtitle>
- <ContributeCardButton href="/contributor-guide">
+ <ContributeCardButton href="/docs/general/contributor-guide">
Start Contribute
</ContributeCardButton>
</ContributeCardLeftSide>