Skip to content

Commit

Permalink
chore: 设置页面导航文本
Browse files Browse the repository at this point in the history
  • Loading branch information
xuxing409 committed Jul 31, 2024
1 parent f8b2855 commit 0121271
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ export default defineConfig({
themeConfig: {
// 展示 2,3 级标题在目录中
outline: {
level: [2, 3]
level: [2, 3],
label: '页面导航'
},
// 默认文案修改
returnToTopLabel: '回到顶部',
Expand All @@ -48,7 +49,7 @@ export default defineConfig({
{
text: '技术',
items: [
{ text: '文章', link: '/technology/article/' }
{ text: '技术文章', link: '/technology/article/' }
]
},
{
Expand Down

0 comments on commit 0121271

Please sign in to comment.