Repository navigation
docs(dataset): fix zh-CN typography in RAG intro (#7531) - #7591
Merged
Merged
Conversation
Add spaces between CJK and Latin characters and fix full-width punctuation spacing throughout the dataset RAG principles doc. Applied a targeted script (protecting URLs) plus manual review. Keeps hyphenated compound terms (任务-生成任务, 查询-答案对) intact to match existing docs like 系统配置-成员配置; textlint's zhRuleSeries false-positives on these were intentionally not applied. Verified: 122 insertions / 122 deletions, line count unchanged, no structural change; textlint errors on the file drop from 98 to 6 (all benign terminology/link-boundary false positives).
c121914yu
approved these changes
Aug 25, 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.
说明
针对 issue #7531,修复
document/content/guide/dataset/rag.mdx(知识库基础原理介绍)中的中文排版格式问题。改动内容
介绍RAG模型→介绍 RAG 模型),共 ~120 处质量 。→质量。、背景: 传统→背景:传统)[RAG文档]→[RAG 文档]),URL 保持完整方法说明
未直接使用
textlint --fix,因为它在多个文档上会破坏结构(合并列表项、改写代码块、删除空行,详见我在此 issue 的回复)。本次采用:有意保留的 2 处 textlint 误报
任务-生成任务、查询-答案对:复合术语连字符,与仓库现有写法(如系统配置-成员配置、管理员-模型提供商)保持一致,未按 textlint 拆成任务 - 生成任务验证
git diff --numstat:121 增 121 删,行数不变,无结构破坏