Skip to content

Commit b7b674b

Browse files
committed
docs: update navigation configs
1 parent bada5cd commit b7b674b

File tree

8 files changed

+70
-28
lines changed

8 files changed

+70
-28
lines changed

docs/.vuepress/configs/navbar/en.ts

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const navbarEn: NavbarConfig = [
2424
text: 'Reference',
2525
children: [
2626
{
27-
text: 'VuePress',
27+
text: 'Core',
2828
children: [
2929
{
3030
text: 'CLI',
@@ -46,6 +46,19 @@ export const navbarEn: NavbarConfig = [
4646
'/reference/bundler/webpack.md',
4747
],
4848
},
49+
{
50+
text: 'Ecosystem',
51+
children: [
52+
{
53+
text: 'Default Theme',
54+
link: 'https://ecosystem.vuejs.press/themes/default/',
55+
},
56+
{
57+
text: 'Plugins',
58+
link: 'https://ecosystem.vuejs.press/plugins/',
59+
},
60+
],
61+
},
4962
],
5063
},
5164

@@ -68,13 +81,17 @@ export const navbarEn: NavbarConfig = [
6881
text: 'Resources',
6982
children: [
7083
{
71-
text: 'Official Ecosystem',
84+
text: 'Ecosystem',
7285
link: 'https://ecosystem.vuejs.press/',
7386
},
7487
{
75-
text: 'VuePress MarketPlace',
88+
text: 'MarketPlace',
7689
link: 'https://marketplace.vuejs.press',
7790
},
91+
{
92+
text: 'Awesome VuePress',
93+
link: 'https://github.com/vuepress/awesome-vuepress',
94+
},
7895
{
7996
text: 'Contributing Guide',
8097
link: 'https://github.com/vuepress/core/blob/main/CONTRIBUTING.md',

docs/.vuepress/configs/navbar/zh.ts

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const navbarZh: NavbarConfig = [
2424
text: '参考',
2525
children: [
2626
{
27-
text: 'VuePress',
27+
text: '核心',
2828
children: [
2929
'/zh/reference/cli.md',
3030
'/zh/reference/config.md',
@@ -43,6 +43,19 @@ export const navbarZh: NavbarConfig = [
4343
'/zh/reference/bundler/webpack.md',
4444
],
4545
},
46+
{
47+
text: '生态系统',
48+
children: [
49+
{
50+
text: '默认主题',
51+
link: 'https://ecosystem.vuejs.press/zh/themes/default/',
52+
},
53+
{
54+
text: '插件',
55+
link: 'https://ecosystem.vuejs.press/zh/plugins/',
56+
},
57+
],
58+
},
4659
],
4760
},
4861
{
@@ -64,13 +77,17 @@ export const navbarZh: NavbarConfig = [
6477
text: '其他资源',
6578
children: [
6679
{
67-
text: '官方生态系统',
80+
text: '生态系统',
6881
link: 'https://ecosystem.vuejs.press/zh/',
6982
},
7083
{
71-
text: 'VuePress 市场',
84+
text: '市场',
7285
link: 'https://marketplace.vuejs.press/zh/',
7386
},
87+
{
88+
text: 'Awesome VuePress',
89+
link: 'https://github.com/vuepress/awesome-vuepress',
90+
},
7491
{
7592
text: '贡献指南',
7693
link: 'https://github.com/vuepress/core/blob/main/CONTRIBUTING_zh.md',

docs/.vuepress/configs/sidebar/en.ts

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export const sidebarEn: SidebarConfig = {
4444
],
4545
'/reference/': [
4646
{
47-
text: 'VuePress Reference',
47+
text: 'Core',
4848
collapsible: true,
4949
children: [
5050
'/reference/cli.md',
@@ -58,17 +58,21 @@ export const sidebarEn: SidebarConfig = {
5858
],
5959
},
6060
{
61-
text: 'Bundlers Reference',
62-
collapsible: true,
61+
text: 'Bundlers',
6362
children: ['/reference/bundler/vite.md', '/reference/bundler/webpack.md'],
6463
},
6564
{
66-
text: 'Official Ecosystem',
67-
link: 'https://ecosystem.vuejs.press/',
68-
},
69-
{
70-
text: 'VuePress Marketplace',
71-
link: 'https://marketplace.vuejs.press/',
65+
text: 'Ecosystem',
66+
children: [
67+
{
68+
text: 'Default Theme',
69+
link: 'https://ecosystem.vuejs.press/themes/default/',
70+
},
71+
{
72+
text: 'Plugins',
73+
link: 'https://ecosystem.vuejs.press/plugins/',
74+
},
75+
],
7276
},
7377
],
7478
}

docs/.vuepress/configs/sidebar/zh.ts

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export const sidebarZh: SidebarConfig = {
4444
],
4545
'/zh/reference/': [
4646
{
47-
text: 'VuePress 参考',
47+
text: '核心',
4848
collapsible: true,
4949
children: [
5050
'/zh/reference/cli.md',
@@ -58,20 +58,24 @@ export const sidebarZh: SidebarConfig = {
5858
],
5959
},
6060
{
61-
text: '打包工具参考',
62-
collapsible: true,
61+
text: '打包工具',
6362
children: [
6463
'/zh/reference/bundler/vite.md',
6564
'/zh/reference/bundler/webpack.md',
6665
],
6766
},
6867
{
69-
text: '官方生态系统',
70-
link: 'https://ecosystem.vuejs.press/zh/',
71-
},
72-
{
73-
text: 'VuePress 市场',
74-
link: 'https://marketplace.vuejs.press/',
68+
text: '生态系统',
69+
children: [
70+
{
71+
text: '默认主题',
72+
link: 'https://ecosystem.vuejs.press/zh/themes/default/',
73+
},
74+
{
75+
text: '插件',
76+
link: 'https://ecosystem.vuejs.press/zh/plugins/',
77+
},
78+
],
7579
},
7680
],
7781
}

docs/guide/troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ See the bundler reference for how to configure bundlers properly:
1111

1212
See the default theme reference for how to configure the default theme properly:
1313

14-
- [Default Theme > Config](https://ecosystem.vuejs.press/themes/default/config.html)
14+
- [Default Theme > Config](https://ecosystem.vuejs.press/themes/default/)

docs/reference/config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Rendered as:
150150

151151
- Also see:
152152
- [Guide > Theme](../guide/theme.md)
153-
- [Default Theme > Config](https://ecosystem.vuejs.press/themes/default/config.md)
153+
- [Default Theme > Config](https://ecosystem.vuejs.press/themes/default/config.html)
154154

155155
## Bundler Config
156156

docs/zh/guide/troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111

1212
请参阅默认主题参考,了解如何正确配置默认主题:
1313

14-
- [默认主题 > 配置](https://ecosystem.vuejs.press/zh/themes/default/config.html)
14+
- [默认主题 > 配置](https://ecosystem.vuejs.press/zh/themes/default/)

docs/zh/reference/config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export default {
149149

150150
- 参考:
151151
- [指南 > 主题](../guide/theme.md)
152-
- [默认主题 > 配置](https://ecosystem.vuejs.press/zh/themes/default/config.md)
152+
- [默认主题 > 配置](https://ecosystem.vuejs.press/zh/themes/default/config.html)
153153

154154
## 打包工具配置
155155

0 commit comments

Comments
 (0)