Skip to content

Commit

Permalink
目录调整更新板块的顺序
Browse files Browse the repository at this point in the history
  • Loading branch information
hslr-s committed Oct 13, 2024
1 parent dfa9d78 commit c03192b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 19 deletions.
22 changes: 12 additions & 10 deletions docs/.vitepress/src/configs/en.mts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,17 @@ function sidebarRoot(): DefaultTheme.SidebarItem[] {
{ text: 'Custom footer', link: '/usage/custom_footer' },
]
},

{
text: 'Updates',
collapsed: false,
items: [
{ text: 'Update instructions', link: '/update/update' },
{ text: 'Release Notes', link: 'https://github.com/hslr-s/sun-panel/releases' },
// { text: 'Beta Update Tutorial', link: '/update/update_beta' },
]
},


{
text: 'Browser Extension',
Expand All @@ -95,16 +106,7 @@ function sidebarRoot(): DefaultTheme.SidebarItem[] {
]
},

{
text: 'Updates',
collapsed: false,
items: [
{ text: 'Update instructions', link: '/update/update' },
{ text: 'Release Notes', link: 'https://github.com/hslr-s/sun-panel/releases' },
// { text: 'Beta Update Tutorial', link: '/update/update_beta' },
]
},


{
text: 'Other',
collapsed: false,
Expand Down
20 changes: 11 additions & 9 deletions docs/.vitepress/src/configs/zh_cn.mts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,16 @@ function sidebarRoot(): DefaultTheme.SidebarItem[] {
]
},

{
text: '更新',
collapsed: false,
items: [
{ text: '更新说明', link: '/zh_cn/update/update' },
{ text: '更新日志', link: '/zh_cn/update/update_log' },
// { text: 'Beta更新教程', link: '/zh_cn/update/update_beta' },
]
},

{
text: '浏览器扩展',
collapsed: false,
Expand All @@ -126,15 +136,7 @@ function sidebarRoot(): DefaultTheme.SidebarItem[] {
]
},

{
text: '更新',
collapsed: false,
items: [
{ text: '更新说明', link: '/zh_cn/update/update' },
{ text: '更新日志', link: '/zh_cn/update/update_log' },
// { text: 'Beta更新教程', link: '/zh_cn/update/update_beta' },
]
},


{
text: '其他',
Expand Down

0 comments on commit c03192b

Please sign in to comment.