feat: set themeConfig of the article page
parent
c1dd0e6445
commit
ffd120a9de
|
@ -21,6 +21,22 @@ export default defineConfig({
|
||||||
|
|
||||||
socialLinks: [
|
socialLinks: [
|
||||||
{ icon: 'github', link: 'https://github.com/project-trans/RLE-wiki' }
|
{ icon: 'github', link: 'https://github.com/project-trans/RLE-wiki' }
|
||||||
]
|
],
|
||||||
|
|
||||||
|
editLink: {
|
||||||
|
pattern: 'https://github.com/project-trans/RLE-wiki/edit/main/docs/:path',
|
||||||
|
text: '在 GitHub 上编辑此页面', // label localization
|
||||||
|
},
|
||||||
|
|
||||||
|
// label localization
|
||||||
|
outline: { label: '本页大纲' },
|
||||||
|
lastUpdated: { text: '最后更新' },
|
||||||
|
darkModeSwitchLabel: '深色模式',
|
||||||
|
sidebarMenuLabel: '目录',
|
||||||
|
returnToTopLabel: '返回顶部',
|
||||||
|
docFooter: {
|
||||||
|
prev: '上一页',
|
||||||
|
next: '下一页',
|
||||||
|
},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue