diff --git a/custom-nodes/help_page.mdx b/custom-nodes/help_page.mdx index 95df126f..5a6b72e5 100644 --- a/custom-nodes/help_page.mdx +++ b/custom-nodes/help_page.mdx @@ -1,5 +1,6 @@ --- -title: "Help Page" +title: "Add node docs for your ComfyUI custom node" +sidebarTitle: "Node docs" description: "How to create rich documentation for your custom nodes" --- @@ -12,7 +13,7 @@ No additional node documentation needs to be added, and you can refer to the rel ## Setup -To add documentation for your nodes or multi-language support documentation: +To add documentation for your custom nodes or multi-language support documentation: 1. Create a `docs` folder inside your `WEB_DIRECTORY` 2. Add markdown files named after your nodes (the names of your nodes are the dictionary keys in the `NODE_CLASS_MAPPINGS` dictionary used to register the nodes): diff --git a/zh-CN/custom-nodes/help_page.mdx b/zh-CN/custom-nodes/help_page.mdx index 5b6f538f..eb508c22 100644 --- a/zh-CN/custom-nodes/help_page.mdx +++ b/zh-CN/custom-nodes/help_page.mdx @@ -1,6 +1,7 @@ --- -title: "帮助页面" -description: "如何为自定义节点创建帮助文档" +title: "为你的 ComfyUI 自定义节点添加节点文档" +sidebarTitle: "节点文档" +description: "如何为内置节点创建帮助文档" --- ## 使用 Markdown 创建节点文档 @@ -11,7 +12,7 @@ description: "如何为自定义节点创建帮助文档" ## 设置 -为你的节点添加节点文档或多语言支持的节点文档: +为你的自定义节点添加节点文档或多语言支持的节点文档: 1. 在你的 `WEB_DIRECTORY` 中创建 `docs` 文件夹 2. 添加以节点名称命名的 Markdown 文件(您的节点名称是用于注册节点的 `NODE_CLASS_MAPPINGS` 字典中的字典键):