You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2025/05/16 10:41:24 UTC

(apisix-website) branch master updated: fix: disable dashboard next version doc config (#1915)

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 370bf6b7f45 fix: disable dashboard next version doc config (#1915)
370bf6b7f45 is described below

commit 370bf6b7f451f969726caa7aa4ff8d57dd916b57
Author: YYYoung <is...@outlook.com>
AuthorDate: Fri May 16 18:41:19 2025 +0800

    fix: disable dashboard next version doc config (#1915)
---
 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),
           },
         ]),