Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【Hackathon 5th No.1】 为 Paddle 新增 copysign API 中文文档 #6417

Merged
merged 12 commits into from
Jan 12, 2024
Merged

【Hackathon 5th No.1】 为 Paddle 新增 copysign API 中文文档 #6417

merged 12 commits into from
Jan 12, 2024

Conversation

cocoshe
Copy link
Contributor

@cocoshe cocoshe commented Dec 21, 2023

Copy link

paddle-bot bot commented Dec 21, 2023

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

@luotao1 luotao1 added the PaddlePaddle Hackathon 飞桨黑客松活动issue与PR label Dec 22, 2023
Copy link
Collaborator

@sunzhongkai588 sunzhongkai588 left a comment

Choose a reason for hiding this comment

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

是不是还缺了 copysign_ 文档

代码示例
::::::::::::

COPY-FROM: paddle.copysign
Copy link
Collaborator

Choose a reason for hiding this comment

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

因为有多个代码块,所以得分别copy from 代码块,参考 中文API文档复制英文API文档示例代码

比如 COPY-FROM: paddle.copysign:example1

代码示例3
::::::::::::

y为+0.0时
Copy link
Collaborator

Choose a reason for hiding this comment

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

中英文、数字间得有空格,这个应该 pre-commit 会在你 commit 的时候自动检查并修复, 是不是没装(doge

代码示例4
::::::::::::

y为-0.0时
Copy link
Collaborator

Choose a reason for hiding this comment

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

中英文、数字间得有空格

Copy link
Collaborator

Choose a reason for hiding this comment

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

overview里也要加上 copysign_

docs/api/paddle/Overview_cn.rst Outdated Show resolved Hide resolved
cocoshe and others added 4 commits January 11, 2024 10:57
Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>
Copy link
Collaborator

@sunzhongkai588 sunzhongkai588 left a comment

Choose a reason for hiding this comment

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

LGTM

@luotao1 luotao1 merged commit 3fe8b7d into PaddlePaddle:develop Jan 12, 2024
2 checks passed
@cocoshe cocoshe deleted the copysign_zh_doc branch January 12, 2024 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor PaddlePaddle Hackathon 飞桨黑客松活动issue与PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants