[Docs] Fix typos and formatting issues in cummax, cummin, and diag API docs#7786
Merged
Echo-Nie merged 1 commit intoPaddlePaddle:developfrom Feb 28, 2026
Conversation
- docs/api/paddle/cummax_cn.rst: Fix duplicate '的的' typo in indices return description - docs/api/paddle/cummin_cn.rst: Fix duplicate '的的' typo in indices return description; add missing blank line before 返回 section - docs/api/paddle/diag_cn.rst: Fix missing space after '-' in padding_value parameter description Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7786.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes minor typos and formatting issues across three Chinese API documentation files for PaddlePaddle. The changes are purely documentation corrections with no functional code impact.
Changes:
- Fixed duplicate
的的typo incummax_cn.rstandcummin_cn.rstreturn value descriptions - Added a missing blank line before the
返回section incummin_cn.rstfor proper RST structure - Fixed a missing space after
-in thepadding_valueparameter description indiag_cn.rst
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
docs/api/paddle/cummax_cn.rst |
Removed duplicate character 的的 → 的 in indices return value description |
docs/api/paddle/cummin_cn.rst |
Removed duplicate character 的的 → 的 in indices return value description; added blank line before 返回 section |
docs/api/paddle/diag_cn.rst |
Added missing space after - in padding_value parameter description |
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.
Summary
Fixed documentation compliance issues in 3 API doc files under
docs/api/paddle/.Changes
docs/api/paddle/cummax_cn.rst的的(redundant character) typo in theindicesreturn value description:操作的的索引结果→操作的索引结果docs/api/paddle/cummin_cn.rst的的(redundant character) typo in theindicesreturn value description:操作的的索引结果→操作的索引结果返回section (required for proper RST formatting)docs/api/paddle/diag_cn.rst-inpadding_valueparameter description:(int|float,可选) -使用此值→(int|float,可选) - 使用此值Standards Compliance
These fixes address violations of the documentation formatting standards:
(type,可选) - descriptionformat consistently