Skip to content

Commit 2d88b09

Browse files
committed
WIP 14
1 parent 4302f9e commit 2d88b09

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

docs/.vitepress/config.mts

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@ export default defineConfig({
66
['link', { rel: 'icon', href: '/Icon.webp' }],
77
['link', { rel: 'preconnect', href: 'https://cdn-font.hyperos.mi.com/font/css?family=MiSans_VF:VF:Chinese_Simplify,Latin&display=swap' }],
88
],
9-
109
description: "A UI library for Compose MultiPlatform",
10+
markdown: {
11+
image: {
12+
lazyLoading: true
13+
},
14+
},
1115
lastUpdated: true,
1216
lang: 'zh-Hans',
1317
themeConfig: {
@@ -79,12 +83,14 @@ export default defineConfig({
7983
'/guide/': [
8084
{
8185
text: '入门',
86+
collapsed: false,
8287
items: [
8388
{ text: '快速开始', link: '/guide/getting-started' },
8489
]
8590
},
8691
{
8792
text: '进阶',
93+
collapsed: false,
8894
items: [
8995
{ text: '多平台支持', link: '/guide/multiplatform' },
9096
{ text: '最佳实践', link: '/guide/best-practices' },
@@ -94,12 +100,14 @@ export default defineConfig({
94100
'/components/': [
95101
{
96102
text: '脚手架',
103+
collapsed: false,
97104
items: [
98105
{ text: 'Scaffold', link: '/components/scaffold' },
99106
]
100107
},
101108
{
102109
text: '基础组件',
110+
collapsed: false,
103111
items: [
104112
{ text: 'Surface', link: '/components/surface' },
105113
{ text: 'BasicComponent', link: '/components/basiccomponent' },
@@ -116,12 +124,14 @@ export default defineConfig({
116124
},
117125
{
118126
text: '容器组件',
127+
collapsed: false,
119128
items: [
120129
{ text: 'Card', link: '/components/card' },
121130
]
122131
},
123132
{
124133
text: '导航组件',
134+
collapsed: false,
125135
items: [
126136
{ text: 'TopAppBar', link: '/components/topappbar' },
127137
{ text: 'NavigationBar', link: '/components/navigationbar' },
@@ -130,31 +140,36 @@ export default defineConfig({
130140
},
131141
{
132142
text: '反馈组件',
143+
collapsed: false,
133144
items: [
134145
{ text: 'Slider', link: '/components/slider' },
135146
{ text: 'ProgressIndicator', link: '/components/progress' },
136147
]
137148
},
138149
{
139150
text: '刷新组件',
151+
collapsed: false,
140152
items: [
141153
{ text: 'PullToRefresh', link: '/components/pulltorefresh' },
142154
]
143155
},
144156
{
145157
text: '搜索组件',
158+
collapsed: false,
146159
items: [
147160
{ text: 'SearchBar', link: '/components/searchview' },
148161
]
149162
},
150163
{
151164
text: '取色组件',
165+
collapsed: false,
152166
items: [
153167
{ text: 'ColorPicker', link: '/components/colorpicker' },
154168
]
155169
},
156170
{
157171
text: '扩展组件',
172+
collapsed: false,
158173
items: [
159174
{ text: 'SuperArrow', link: '/components/superarrow' },
160175
{ text: 'SuperSwitch', link: '/components/superswitch' },

0 commit comments

Comments
 (0)