Skip to content

Conversation

@cmcamdy
Copy link
Contributor

@cmcamdy cmcamdy commented Apr 26, 2024

No description provided.

@paddle-bot
Copy link

paddle-bot bot commented Apr 26, 2024

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

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.

注意需要用 pre-commit 自动修复一下写作格式

@cmcamdy
Copy link
Contributor Author

cmcamdy commented Jun 13, 2024

有个小问题,就是我看了一下CI里面的check,发现check_copy_from_parsed_into_sample_code.py这个文件检查到COPY-FROM就会抛出错误。
我本地试了一下,编出来的html包括其他api,大部分都有COPY-FROM,这个问题是咋回事呢?
比如:<p>COPY-FROM: paddle.audio.backends.get_current_backend</p>

@sunzhongkai588
Copy link
Collaborator

有个小问题,就是我看了一下CI里面的check,发现check_copy_from_parsed_into_sample_code.py这个文件检查到COPY-FROM就会抛出错误。

copy from是把英文源码里的 docstring 的代码部分抽取出来放到中文文档,线上报错可能有其他原因,因为官网预览现在不太稳定。本地构建的话可能需要有 paddle 仓库吧

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.

paddle/distribution/Overview 里加一下相关描述

@cmcamdy
Copy link
Contributor Author

cmcamdy commented Jun 18, 2024

paddle/distribution/Overview 里加一下相关描述

已添加

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

@sunzhongkai588 sunzhongkai588 merged commit 763c284 into PaddlePaddle:develop Jun 18, 2024
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