fix(docs): correct duplicated text in the Chinese book structure overview image#17
Open
shaun0927 wants to merge 13 commits into
Open
fix(docs): correct duplicated text in the Chinese book structure overview image#17shaun0927 wants to merge 13 commits into
shaun0927 wants to merge 13 commits into
Conversation
feature:将前言部分的图片进行优化
fix: 修复第06章链接边界与第10章Mermaid渲染问题
去掉不通用的 leftPadding 配置,用短横线代替冒号和括号避免语法冲突, 修正时间线重叠。中英文同步更新。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This reverts commit 4e55148.
Fix image paths and replace Mermaid charts with static images
将 JPEG 数据错误保存为 .png 的图片重新编码为正确的 PNG 格式, 并将分辨率从 5504x3040 缩小至 1400px 宽,解决 GitHub 渲染 404 问题。 Fixes lintsinghua#10 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The current Chinese `book_structure_overview` asset duplicates the Chapter 3 label and contains malformed title text. This keeps the fix narrowly scoped to the one image that issue lintsinghua#15 identifies, matching the repository's documentation-first contribution pattern. Constraint: Keep the PR limited to the validated Chinese asset defect Rejected: Open a new issue in English | duplicate of upstream issue lintsinghua#15 Rejected: Modify the English asset too | local validation showed no corresponding defect Confidence: medium Scope-risk: narrow Reversibility: clean Directive: If a source design file is introduced later, prefer regenerating this asset from source rather than layering manual edits on top Tested: Local OCR shows one Chapter 3 label and corrected title text; PNG MIME preserved Not-tested: Human visual review in GitHub's final renderer Related: lintsinghua#15
Open
The first fix removed the duplicated Chapter 3 label and corrected the title text, but the cleared text band could still read as an editing artifact. This follow-up redraws the left panel so the asset remains visually consistent while preserving the validated content fix. Constraint: Stay within the existing one-asset PR scope Rejected: Leave the OCR-correct but visually patched version as-is | visible cleanup band weakened the polish of the diagram Rejected: Rebuild additional assets for consistency | no corresponding defect was validated elsewhere Confidence: medium Scope-risk: narrow Reversibility: clean Directive: If the original design source becomes available, prefer regenerating the asset from source rather than iterating on raster edits Tested: Local OCR still finds one Chapter 3 label, one Chapter 4 label, and the corrected title text; PNG MIME preserved Not-tested: Maintainer preference for the redrawn panel styling versus the prior asset styling Related: lintsinghua#15
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.
Background
Issue #15 reports that the second image in the foreword has duplicated/malformed text.
I reproduced that problem on current
mainin a local clone:assets/book_structure_overview.pngdetected第3章 工具系统 智能体操作twice at different vertical positions.en/assets/book_structure_overview.png) did not show the same duplication.What changed
assets/book_structure_overview.pngScope
This PR intentionally stays narrow to match the repository's recent merge pattern for documentation fixes:
Validation
第3章 工具系统 智能体操作appeared twice第3章 工具系统 智能体操作remains智能体系统课程路线图:从基础到生产(2021年-至今)Closes #15