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

【Paddle Tensor No.22】新增paddle.less,Tensor.less中文文档 #6989

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

MrXnneHang
Copy link
Contributor

@MrXnneHang MrXnneHang commented Nov 20, 2024

PR Category

User Experience

PR Types

New features

Description

新增paddle.less,Tensor.less, 中文文档.

我之前import less_than as less影响到了所有人的docs-preiview,侧边栏的less_than变成了less,但是内部内容依然是less_than的。

然后在昨天合入了把import as改成复用方法后,经过一个Nightly迭代,今天别人恢复了正常。

但是我尝试自己重构建Docs-New,似乎并不会直接同步更新,或者说它拉取的依然是先前旧版本的Paddle。所以开一个新的PR来测试一下。原先的 PR 中的Tensor.lesspaddle.less迁移到这个PR中,只保留了paddle.positive.

Copy link

paddle-bot bot commented Nov 20, 2024

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

@MrXnneHang
Copy link
Contributor Author

MrXnneHang commented Nov 20, 2024

唔,我猜测似乎是对的。
Docs-New只会拉取提交PR时对应的Nightly版本Paddle源码,不会拉取后来新的源码。
所以即使我positive那边把所有关于less的都删掉了并且重构建,它依然Docs-Preview里依然是less,那个是由于import as源码造成的。
image
现在正常了。

@luotao1 luotao1 added the HappyOpenSource 快乐开源活动issue与PR label Nov 20, 2024
@luotao1
Copy link
Collaborator

luotao1 commented Nov 20, 2024

你猜测的完全正确👍

@luotao1 luotao1 merged commit 5505d82 into PaddlePaddle:develop Nov 21, 2024
2 checks passed
WSBG pushed a commit to WSBG/docs that referenced this pull request Nov 27, 2024
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.

4 participants