Skip to content

Commit 6b74851

Browse files
committed
✨ feat: 优化 MkDocs 主题配置,去除冗余字段并规范化结构
1 parent e135dae commit 6b74851

2 files changed

Lines changed: 8 additions & 9 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
## NEW
1414

15+
- 2026-03-02 13:26:55 (Asia/Shanghai): 持久化 MkDocs 主题基线:固定 `material + default(indigo/indigo)`,禁用颜色切换按钮;并规范化 `mkdocs.yml` 结构,去除冗余 `theme.theme` 嵌套字段以避免后续维护歧义。
1516
- 2026-03-02 13:09:24 (Asia/Shanghai): 按初始方案回退 MkDocs Material 主题配置:固定单一配色 `blue grey + teal`,移除颜色切换按钮与额外主题覆盖样式;同时修复 GitHub Actions 打包步骤,`python -m build --no-isolation` 改为 `python -m build`,避免 `setuptools.build_meta` 不可用错误。
1617
- 2026-03-02 12:55:48 (Asia/Shanghai): 调整 MkDocs Material 视觉为“logo 同系淡紫主题”,主导航栏与链接色改为紫蓝渐变对应色,并移除过度装饰的内容背景,整体回归官方 Material 的简洁版式。
1718
- 2026-03-02 12:40:33 (Asia/Shanghai): 接入项目 logo:README 顶部新增品牌图,MkDocs Material 主题新增 `logo/favicon` 配置,并将图片同步到 `docs_src/etc/images/`,保证文档站点与仓库页面均可正常显示。

mkdocs.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,13 @@ theme:
1212
language: zh
1313
logo: etc/images/favicon.png
1414
favicon: etc/images/favicon.png
15-
theme:
16-
name: material
17-
palette:
18-
scheme: default
19-
primary: indigo
20-
accent: indigo
21-
font:
22-
text: Roboto
23-
code: Roboto Mono
15+
palette:
16+
scheme: default
17+
primary: indigo
18+
accent: indigo
19+
font:
20+
text: Roboto
21+
code: Roboto Mono
2422
features:
2523
- navigation.tabs
2624
- navigation.sections

0 commit comments

Comments
 (0)