Skip to content

Commit

Permalink
docs: 调整移动端网站中文适配
Browse files Browse the repository at this point in the history
  • Loading branch information
renzp94 committed Jun 17, 2024
1 parent 2bd4a7a commit db6c3c4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit db6c3c4

Please sign in to comment.