Repository navigation
docs: 去重文档图片并优化源码克隆说明 - #18359
Merged
cuicheng01 merged 1 commit intoSep 16, 2026
Merged
docs: 去重文档图片并优化源码克隆说明#18359
Conversation
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.
改动
文档中多处保存了内容完全相同的图片,安装说明也默认下载完整 Git 历史。本次将重复图片的引用统一到已有文件,并为普通源码使用场景改用浅克隆。
git clone --depth 1,说明指定分支与补取完整历史的方法。--branch参数选择。验证
mkdocs-ci.yml,ENABLE_GIT_PLUGINS=false)。git diff --check通过。影响
这项改动减少工作区和源码归档中的重复文件,不会自动清除 Git 历史中的旧对象。源码、字体、模型和测试输入未修改。
删除图片的旧路径不再存在;仓库内涉及的引用已更新,仓库外使用这些旧路径的直接链接需要迁移。现有构建中的其他链接问题未在本次处理。