Skip to content

Commit

Permalink
docs: Fixed highlighting issues with the top menu
Browse files Browse the repository at this point in the history
  • Loading branch information
yuexiaoliang committed Aug 22, 2024
1 parent 6106476 commit 11aaa35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/.vitepress/config/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const en = defineConfig({
function nav(): DefaultTheme.NavItem[] {
return [
{ text: 'Guide', link: '/guide/' },
{ text: 'Overview', activeMatch: '(guide|charts)', link: '/guide/overview' },
{ text: 'Overview', link: '/guide/overview' },
]
}

Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/config/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const zh = defineConfig({
function nav(): DefaultTheme.NavItem[] {
return [
{ text: '指南', link: '/zh/guide/' },
{ text: '图表概览', activeMatch: '(guide|charts)', link: '/zh/guide/overview' },
{ text: '图表概览', link: '/zh/guide/overview' },
]
}

Expand Down

0 comments on commit 11aaa35

Please sign in to comment.