Skip to content

Conversation

YqGe585
Copy link
Contributor

@YqGe585 YqGe585 commented Sep 26, 2025

Fix Chart and Add English docs

@Echo-Nie
Copy link
Contributor

image

需要pre-commit修复一下

Copy link
Contributor

@Echo-Nie Echo-Nie left a comment

Choose a reason for hiding this comment

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

第一个文件:
预览文档: custom_runtime_cn
这个中文渲染没问题了。

第二个文件:
预览: custom_runtime_en
这个好像渲染有问题,可以检查一下。

第三个文件:
预览: device_api_en
文档渲染没问题

但是code style还是有问题?
image

@YqGe585 @luotao1 @sunzhongkai588

@YqGe585
Copy link
Contributor Author

YqGe585 commented Sep 28, 2025

custom_runtime_cn也有问题,不知道为什么device接口的表格不见了

@Echo-Nie
Copy link
Contributor

custom_runtime_cn也有问题,不知道为什么device接口的表格不见了

image

可能是没对齐导致的?

@Echo-Nie
Copy link
Contributor

目前 custom_runtime_cncustom_runtime_en 均是Device的问题,可能是竖线没有对齐导致的,标准表格格式如下:
image

@YqGe585
Copy link
Contributor Author

YqGe585 commented Sep 29, 2025

中文字符导致无法完全对齐竖线,英文已对齐。

Copy link
Contributor

@Echo-Nie Echo-Nie left a comment

Choose a reason for hiding this comment

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

第一个文件:
预览文档: custom_runtime_cn

Device还是没渲染成功;

第二个文件:
预览: custom_runtime_en
问题如下图:
image

image

第三个文件:
预览: device_api_en
文档渲染没问题

以及code style问题
image

Copy link

github-actions bot commented Oct 9, 2025

📚 本次 PR 文档预览链接 (点击展开)

以下是本次 PR 中变更文档的预览链接:

  • docs/dev_guides/custom_device_docs/custom_runtime_cn.rst: 点击预览
  • docs/dev_guides/custom_device_docs/custom_runtime_en.rst: 点击预览
  • docs/dev_guides/custom_device_docs/device_api_en.md: 点击预览

@YqGe585
Copy link
Contributor Author

YqGe585 commented Oct 9, 2025

Collective communication APIs和Profiler APIs的表格之前没有改,不清楚为啥会出错,猜测是里面有中文的句号,已修改,再试一下有没有问题。

Copy link
Collaborator

@ooooo-create ooooo-create left a comment

Choose a reason for hiding this comment

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

custom_runtime_en 是一直都有问题,是因为下面的 # 比标题短了叭,从信息上大概也可以看出来~

Profiler APIs
############

custom_runtime_cn 表格渲染问题可以参照 #7523 (comment)
安装 shuworks.vscode-table-formatter 格式化一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants