Skip to content

[CodeStyle][DocFormat][121] Use pycon marker in fleet core docs#77985

Merged
SigureMo merged 2 commits intoPaddlePaddle:developfrom
ShigureNyako:docs/migrate-docstring-highlight-markers-121
Feb 19, 2026
Merged

[CodeStyle][DocFormat][121] Use pycon marker in fleet core docs#77985
SigureMo merged 2 commits intoPaddlePaddle:developfrom
ShigureNyako:docs/migrate-docstring-highlight-markers-121

Conversation

@ShigureNyako
Copy link
Contributor

PR Category

User Experience

PR Types

Docs

Description

Migrate docstring example markers from .. code-block:: python to .. code-block:: pycon in fleet core docs.

Updated files:

  • python/paddle/distributed/fleet/launch_utils.py
  • python/paddle/distributed/fleet/optimizer.py
  • python/paddle/distributed/fleet/metrics/metric.py
  • python/paddle/distributed/fleet/layers/mpu/mp_layers.py
  • python/paddle/distributed/fleet/layers/mpu/mp_ops.py

Also ran ruff format on touched files.

Related PRs:

是否引起精度变化

@paddle-bot
Copy link

paddle-bot bot commented Feb 19, 2026

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@ShigureNyako
Copy link
Contributor Author

自检完成:本 PR 仅将 docstring 中的 .. code-block:: python 迁移为 .. code-block:: pycon,未改动示例语义。

本次按建议控制为 5 个文件(同一主题:fleet core docs)。

@SigureMo 辛苦帮忙 review 🙏

@paddle-bot paddle-bot bot added the contributor External developers label Feb 19, 2026
@ShigureNyako
Copy link
Contributor Author

已完成本轮 review 修改:

  • 按建议为 7 处 pycon 多行调用补齐 trailing comma
  • 执行 ruff format 并推送 commit a411c438ac
  • 已逐条回复并 resolve 对应 review threads

请帮忙再看一眼,辛苦啦 @SigureMo 🙏

@ShigureNyako
Copy link
Contributor Author

/re-run all-failed

@SigureMo SigureMo merged commit 0b714c4 into PaddlePaddle:develop Feb 19, 2026
190 of 207 checks passed
@SigureMo SigureMo deleted the docs/migrate-docstring-highlight-markers-121 branch February 19, 2026 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers skip-ci: all

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments