aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/docs/.vitepress/config.mts7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/docs/.vitepress/config.mts b/doc/docs/.vitepress/config.mts
index 4c20685..103dfc9 100644
--- a/doc/docs/.vitepress/config.mts
+++ b/doc/docs/.vitepress/config.mts
@@ -51,7 +51,7 @@ function createSidebar(basePath: string, zh: boolean) {
51 link: `${basePath}/destructuring-assignment`, 51 link: `${basePath}/destructuring-assignment`,
52 }, 52 },
53 { 53 {
54 text: zh ? 'If 赋值' : 'If Assignment', 54 text: zh ? 'if 赋值' : 'If Assignment',
55 link: `${basePath}/if-assignment`, 55 link: `${basePath}/if-assignment`,
56 }, 56 },
57 { 57 {
@@ -235,5 +235,10 @@ export default defineConfig({
235 sidebar: createSidebar('/zh/doc', true), 235 sidebar: createSidebar('/zh/doc', true),
236 } 236 }
237 } 237 }
238 },
239 themeConfig: {
240 search: {
241 provider: 'local'
242 }
238 } 243 }
239}) 244})