Skip to content

Commit 370bf6b

Browse files
authored
fix: disable dashboard next version doc config (#1915)
1 parent 4ca2bc1 commit 370bf6b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

doc/docusaurus.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ module.exports = {
9999
path: 'docs/apisix-dashboard',
100100
showLastUpdateAuthor: true,
101101
showLastUpdateTime: true,
102+
includeCurrentVersion: false,
102103
routeBasePath: '/docs/dashboard',
103104
sidebarPath: require.resolve('./docs/apisix-dashboard/sidebars.json'),
104105
editUrl(props) {

scripts/sync-docs.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ const tasks = new Listr([
137137
},
138138
{
139139
title: `Extract ${project.name} next version documents`,
140+
skip: () => project.name === 'apisix-dashboard',
140141
task: () => extractDocsNextVersionTasks(project, project.branch),
141142
},
142143
]),

0 commit comments

Comments
 (0)