Skip to content

Commit 49513fc

Browse files
committed
Updated doc site configs. [skip CI]
1 parent 971f6f0 commit 49513fc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

doc/docs/.vitepress/config.mts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function createSidebar(basePath: string, zh: boolean) {
5151
link: `${basePath}/destructuring-assignment`,
5252
},
5353
{
54-
text: zh ? 'If 赋值' : 'If Assignment',
54+
text: zh ? 'if 赋值' : 'If Assignment',
5555
link: `${basePath}/if-assignment`,
5656
},
5757
{
@@ -235,5 +235,10 @@ export default defineConfig({
235235
sidebar: createSidebar('/zh/doc', true),
236236
}
237237
}
238+
},
239+
themeConfig: {
240+
search: {
241+
provider: 'local'
242+
}
238243
}
239244
})

0 commit comments

Comments
 (0)