diff options
| author | Li Jin <dragon-fly@qq.com> | 2026-02-04 16:30:22 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2026-02-04 16:30:22 +0800 |
| commit | 49513fc94f5a98cb1cc8436d3c2364bee0a75b89 (patch) | |
| tree | 5bdd62e989d719bcf3a1d70765dd6f9330be267e /doc/docs | |
| parent | 971f6f0a20df936b1070139b22fff1af8d37ea4a (diff) | |
| download | yuescript-49513fc94f5a98cb1cc8436d3c2364bee0a75b89.tar.gz yuescript-49513fc94f5a98cb1cc8436d3c2364bee0a75b89.tar.bz2 yuescript-49513fc94f5a98cb1cc8436d3c2364bee0a75b89.zip | |
Diffstat (limited to 'doc/docs')
| -rw-r--r-- | doc/docs/.vitepress/config.mts | 7 |
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 | }) |
