Skip to content

Fix missing blank line after py:function directive in RST API docs#7785

Merged
ooooo-create merged 1 commit into
PaddlePaddle:developfrom
StatefulDust:fix/rst-missing-blank-line-after-directive-a7b79894ceaf82a4
Feb 28, 2026
Merged

Fix missing blank line after py:function directive in RST API docs#7785
ooooo-create merged 1 commit into
PaddlePaddle:developfrom
StatefulDust:fix/rst-missing-blank-line-after-directive-a7b79894ceaf82a4

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Feb 28, 2026

Add missing blank lines after .. py:function:: directives in three API documentation files. In RST, a blank line is required between a directive and its content to ensure proper parsing and rendering.

Also fix missing backticks around variable name 'x' in cos__cn.rst.

Files fixed:

  • docs/api/paddle/bucketize_cn.rst
  • docs/api/paddle/cast__cn.rst
  • docs/api/paddle/cos__cn.rst

Add missing blank lines after .. py:function:: directives in three API documentation files.
In RST, a blank line is required between a directive and its content to ensure
proper parsing and rendering.

Also fix missing backticks around variable name 'x' in cos__cn.rst.

Files fixed:
- docs/api/paddle/bucketize_cn.rst
- docs/api/paddle/cast__cn.rst
- docs/api/paddle/cos__cn.rst

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@paddle-bot
Copy link
Copy Markdown

paddle-bot Bot commented Feb 28, 2026

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7785.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:飞桨文档预览工具

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 28, 2026

📚 本次 PR 文档预览链接(点击展开)
ℹ️ 预览提醒
请等待 Docs-NEW 流水线运行完成后再点击预览链接,否则可能会看到旧版本内容或遇到链接无法访问的情况。

@Echo-Nie Echo-Nie closed this Feb 28, 2026
@Echo-Nie Echo-Nie reopened this Feb 28, 2026
Copy link
Copy Markdown
Collaborator

@Echo-Nie Echo-Nie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ooooo-create ooooo-create merged commit 25412ad into PaddlePaddle:develop Feb 28, 2026
10 checks passed
@ooooo-create ooooo-create added the HappyOpenSource 快乐开源活动issue与PR label Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor HappyOpenSource 快乐开源活动issue与PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants