fix: deploy issue cause by sync-docs.js (#209)
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 @@
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 @@
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>