This is an automated email from the ASF dual-hosted git repository. young pushed a commit to branch young/chore/tmp-disable-dashboard-next-doc in repository https://gitbox.apache.org/repos/asf/apisix-website.git
commit 2942a214c56c7c2da90e20122f67f6e4a4a6c80b Author: Skye Young <[email protected]> AuthorDate: Fri May 16 18:35:30 2025 +0800 fix: disable dashboard next version doc config --- doc/docusaurus.config.js | 1 + scripts/sync-docs.js | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/docusaurus.config.js b/doc/docusaurus.config.js index e6df01feb42..737445bc67e 100644 --- a/doc/docusaurus.config.js +++ b/doc/docusaurus.config.js @@ -99,6 +99,7 @@ module.exports = { path: 'docs/apisix-dashboard', showLastUpdateAuthor: true, showLastUpdateTime: true, + includeCurrentVersion: false, routeBasePath: '/docs/dashboard', sidebarPath: require.resolve('./docs/apisix-dashboard/sidebars.json'), editUrl(props) { diff --git a/scripts/sync-docs.js b/scripts/sync-docs.js index f00239dbc9b..a3bb996910e 100644 --- a/scripts/sync-docs.js +++ b/scripts/sync-docs.js @@ -137,6 +137,7 @@ const tasks = new Listr([ }, { title: `Extract ${project.name} next version documents`, + skip: () => project.name === 'apisix-dashboard', task: () => extractDocsNextVersionTasks(project, project.branch), }, ]),
