Skip to content

Commit

Permalink
Update Upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFloodDragon authored Jun 2, 2024
1 parent 057dc84 commit fba3f52
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ export default defineConfig({

nav,
sidebar,

/* 右侧大纲配置 */
outline: {
level: [1, 6],
label: '本页目录',
label: '目录',
},

socialLinks: [{ icon: 'github', link: 'https://github.com/postyizhan/lezi-wiki' }],
Expand All @@ -47,15 +48,26 @@ export default defineConfig({
copyright: 'Copyright © 2019-present maomao',
},

darkModeSwitchLabel: '外观',
returnToTopLabel: '返回顶部',
lastUpdatedText: '上次更新',
lastUpdated: {
text: '最后更新于',
formatOptions: {
dateStyle: 'short',
timeStyle: 'medium',
},
},

docFooter: {
prev: '上一篇',
next: '下一篇',
},

returnToTopLabel: '回到顶部',
sidebarMenuLabel: '菜单',
darkModeSwitchLabel: '主题',
lightModeSwitchTitle: '切换到浅色模式',
darkModeSwitchTitle: '切换到深色模式',

/*** 自定义配置 ***/
visitor: {
badgeId: 'postyizhan.lezi-wiki',
},
Expand Down

0 comments on commit fba3f52

Please sign in to comment.