From db6c3c4f08d3be148c054133c86c9b1976982c0d Mon Sep 17 00:00:00 2001 From: renzp94 <1074720760@qq.com> Date: Mon, 17 Jun 2024 09:37:13 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E8=B0=83=E6=95=B4=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=AB=AF=E7=BD=91=E7=AB=99=E4=B8=AD=E6=96=87=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vitepress/config.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index f6c407f..baeaaf7 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -19,6 +19,9 @@ export default async () => { src: '/logo.png', style: 'border-radius: 50%;height: 32px;width: 32px;', }, + darkModeSwitchLabel: '主题', + darkModeSwitchTitle: '切换到深色模式', + lightModeSwitchTitle: '切换到浅色模式', siteTitle: 'Utils', search: { provider: 'local', @@ -53,6 +56,8 @@ export default async () => { socialLinks: [ { icon: 'github', link: 'https://github.com/renzp94/utils' }, ], + sidebarMenuLabel: '菜单', + returnToTopLabel: '回到顶部', sidebar, editLink: { pattern: 'https://github.com/renzp94/utils/edit/main/docs/:path',