Repository navigation
fix: dark-mode Ch01 SVG logos, broken contributors image, and Ch05/config fixes - #121
Merged
taoky merged 5 commits intoNov 26, 2026
Merged
Conversation
Member
|
除了第 2 点之外都没问题,我们对 mkdocs-material 目前的做法是自己维护一个 fork(https://github.com/ustclug/mkdocs-material),用法可以参考 https://github.com/ustclug/Linux201-docs/blob/master/requirements.txt#L2。因此第二点我倾向于从此 PR 中剥离,另行修改主题仓库。 |
Member
|
我们计划在 101 中使用和 201 一致的 AI policy:https://201.ustclug.org/spec/writing/#copyright-and-ai 请在 PR 中标注你所使用的 AI 工具。 |
Contributor
Author
OK |
Minsecrus
force-pushed
the
fix/site-issues-and-dark-mode-logos
branch
from
November 25, 2026 12:18
01bc9fa to
9bc6326
Compare
taoky
requested changes
Nov 25, 2026
Minsecrus
force-pushed
the
fix/site-issues-and-dark-mode-logos
branch
from
November 25, 2026 23:45
d008be1 to
2c1ecef
Compare
taoky
approved these changes
Nov 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
本次 PR 修复了几处页面渲染、裂图与配置冗余问题(已按主题拆分为 4 个独立 commit):
改动说明
Ch01 透明底 Logo 深色模式适配(矢量 SVG)
Ch01中 Debian、Ubuntu、Red Hat、Fedora、CentOS、Arch Linux、Manjaro、Windows Server、Android TV、Xubuntu 共 10 张透明底 PNG 在深色模式(slate)下文字与暗色背景融合、辨识度较差。viewBox),删除旧 PNG:#only-light/#only-dark自动切换。.logo-light-bg浅色圆角底板保证可读性(浅色模式样式不变)。修复
/credits/贡献者头像墙裂图cf.ustclug.org反代已因 TLS 握手失败不可用,导致线上/credits/#contributors裂图;更新为contrib.rocks官方地址(https://contrib.rocks/image?repo=ustclug/Linux101-docs)。Ch05 脚注顺序、Mermaid 语法规范与废弃旧图清理
docs/Ch05/index.md文末[^2]/[^3]定义顺序,修复正文上标显示为1 → 3 → 2的编号错位。#fhsMermaid 图中的裸根节点/改为slash["/"],提升在 GitHub 网页及第三方 Markdown 预览器中的兼容性。docs/Ch05/assets/unix_filesystem.png。杂项清理
mkdocs.yml中重复声明的- pymdownx.superfences。README.md中重复的## Star History标题。本地验证
mkdocs build/mkdocs serve构建通过,无新增报错。/Ch01/10 组 Logo 在浅色/深色模式下的切换、圆角底板与对比度、/credits/贡献者头像墙,以及/Ch05/#fhs的 Mermaid 图表与脚注顺序。AI 工具使用声明
本次 PR 的站点排查、SVG 整理、配置清理及本地验证使用了 Google Antigravity(Gemini 模型)辅助,所有改动均已人工逐项核对并在本地浏览器确认效果。