docs: 调整文档站的标题和尾注文本显示 (#14213)

* chore: 更新plume主题版本

* chore: 更新文档站尾注配置

* i18n: 调整多语言的默认网站标题

* docs: 调整首页的网页标题

* docs: 文档站首页MAA标题加阴影
This commit is contained in:
Lucien Shaw
2025-09-23 21:36:58 +08:00
committed by GitHub
parent 08a6d2aea7
commit 866bc59ca4
6 changed files with 393 additions and 386 deletions

View File

@@ -18,23 +18,28 @@ export default defineUserConfig({
locales: {
'/zh-cn/': {
lang: 'zh-CN',
title: 'MAA 文档站',
description: '文档',
},
'/zh-tw/': {
lang: 'zh-TW',
title: 'MAA 文件站',
description: '文件',
},
'/en-us/': {
lang: 'en-US',
title: 'MAA Documentation Site',
description: 'Documentation',
},
'/ja-jp/': {
lang: 'ja-JP',
description: 'ドキュメンテーション',
title: 'MAA ドキュメントサイト',
description: 'ドキュメント',
},
'/ko-kr/': {
lang: 'ko-KR',
description: '선적 서류 비치',
title: 'MAA 문서 사이트',
description: '문서',
},
},

View File

@@ -23,31 +23,28 @@ export default defineThemeConfig({
nextPage: false,
createTime: false,
footer: false,
locales: {
'/zh-cn/': {
navbar: zhcnNavbar,
notes: zhcnNotes,
footer: false,
},
'/zh-tw/': {
navbar: zhtwNavbar,
notes: zhtwNotes,
footer: false,
},
'/en-us/': {
navbar: enusNavbar,
notes: enusNotes,
footer: false,
},
'/ja-jp/': {
navbar: jajpNavbar,
notes: jajpNotes,
footer: false,
},
'/ko-kr/': {
navbar: kokrNavbar,
notes: kokrNotes,
footer: false,
},
},

View File

@@ -15,3 +15,8 @@
margin: 0.5rem;
min-width: 7em;
}
/* 首页标题 */
.is-home .name.clip {
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

View File

@@ -1,6 +1,6 @@
---
pageLayout: home
title: MAA 文档站
title: 首页
config:
- type: doc-hero
hero:

View File

@@ -20,11 +20,11 @@
"markdown-it": "^14.1.0",
"markdown-it-anchor": "^9.2.0",
"prettier": "^3.6.2",
"sass-embedded": "^1.92.1",
"sass-embedded": "^1.93.1",
"typescript": "^5.9.2",
"vue": "^3.5.21",
"vuepress": "2.0.0-rc.24",
"vuepress-theme-plume": "1.0.0-rc.163"
"vuepress-theme-plume": "1.0.0-rc.164"
},
"scripts": {
"dev": "vuepress dev .",

752
docs/pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff