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

[Docathon][Add CN Doc No.1] #6383

Merged
merged 3 commits into from
Dec 20, 2023
Merged

[Docathon][Add CN Doc No.1] #6383

merged 3 commits into from
Dec 20, 2023

Conversation

Turingg
Copy link
Contributor

@Turingg Turingg commented Dec 10, 2023

PR types
Others

PR changes
Docs

Description
中文文档添加任务
#6193

修改中文文档:

paddle.sin_cn

英文文档链接:

https://www.paddlepaddle.org.cn/documentation/docs/en/develop/api/paddle/sin_en.html#api-paddle-sin

补充说明:
这个是对原sin中文文档添加数学公式

@sunzhongkai588 @caizejun

Copy link

paddle-bot bot commented Dec 10, 2023

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

Comment on lines 10 to 12
计算公式为:
.. math::
out=sin(x)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
计算公式为:
.. math::
out=sin(x)
计算公式为:
.. math::
out=sin(x)

math 上得加空行,否则可能渲染出错。官网rst的渲染对空行有些敏感~
image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

好噜!

添加空格
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 9505009 into PaddlePaddle:develop Dec 20, 2023
2 checks passed
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