aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2026-02-04 16:30:22 +0800
committerLi Jin <dragon-fly@qq.com>2026-02-04 16:30:22 +0800
commit49513fc94f5a98cb1cc8436d3c2364bee0a75b89 (patch)
tree5bdd62e989d719bcf3a1d70765dd6f9330be267e
parent971f6f0a20df936b1070139b22fff1af8d37ea4a (diff)
downloadyuescript-49513fc94f5a98cb1cc8436d3c2364bee0a75b89.tar.gz
yuescript-49513fc94f5a98cb1cc8436d3c2364bee0a75b89.tar.bz2
yuescript-49513fc94f5a98cb1cc8436d3c2364bee0a75b89.zip
Updated doc site configs. [skip CI]HEADmain
-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})