Skip to content

Commit

Permalink
docs: rephrace and configure nav
Browse files Browse the repository at this point in the history
Signed-off-by: Neko Ayaka <[email protected]>
  • Loading branch information
nekomeowww committed Nov 10, 2024
1 parent d93cc7d commit e659247
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const sidebars: Record<string, DefaultTheme.Sidebar> = {
text: 'Guides',
items: [
{ text: 'Getting Started', link: '/pages/en/guide/getting-started' },
{ text: 'Recent updated pages', link: '/pages/en/recent-updates' },
{ text: 'Recent Updated', link: '/pages/en/recent-updates' },
],
},
{
Expand Down Expand Up @@ -161,7 +161,7 @@ export const sidebars: Record<string, DefaultTheme.Sidebar> = {
text: '集成',
items: [
{ text: '概览', link: '/pages/zh-CN/integrations/' },
{ text: '最近更新文档', link: '/pages/zh-CN/recent-updates' },
{ text: '最近更新', link: '/pages/zh-CN/recent-updates' },
],
},
{
Expand Down Expand Up @@ -358,7 +358,13 @@ export default defineConfig({
description: 'A collection of diverse documentation engineering tools',
themeConfig: {
nav: [
{ text: 'Guide', link: '/pages/en/guide/getting-started' },
{
text: 'Guide',
items: [
{ text: 'Getting Started', link: '/pages/en/guide/getting-started' },
{ text: 'Recent Updated', link: '/pages/en/recent-updates' },
],
},
{ text: 'Integrations', link: '/pages/en/integrations/' },
{ text: 'UI Components', link: '/pages/en/ui/' },
{
Expand Down Expand Up @@ -391,7 +397,13 @@ export default defineConfig({
description: '多元化的文档工程工具合集',
themeConfig: {
nav: [
{ text: '指南', link: '/pages/zh-CN/guide/getting-started' },
{
text: '指南',
items: [
{ text: '快速开始', link: '/pages/zh-CN/guide/getting-started' },
{ text: '最近更新', link: '/pages/zh-CN/recent-updates' },
],
},
{ text: '集成', link: '/pages/zh-CN/integrations/' },
{ text: 'UI 组件', link: '/pages/zh-CN/ui/' },
{
Expand Down

0 comments on commit e659247

Please sign in to comment.