Note
This is only for core nodes. For embedded custom node documentation, please see https://docs.comfy.org/custom-nodes/help_page
Each core node should have a folder containing its node name, then a two letter locale.md, and potentially any assets along with it in the same folder.
See FluxProUltraImageNode as an example.
Note
A fallback is simply docs/NodeName.md, but this is discouraged.
To preview your documentation changes in ComfyUI:
-
Copy documentation files:
cp -r docs/* comfyui_embedded_docs/docs/
-
Install editable version (optional but recommended):
# If you have one, activate your ComfyUI virtual environment first pip uninstall comfyui-embedded-docs # Remove existing PyPI version pip install -e /path/to/embedded-docs/ # Install editable version
-
Launch and preview:
- Start ComfyUI
- Refresh the frontend tab after making documentation changes
Tip
The editable installation allows you to see changes immediately after copying files, without reinstalling the package.
The package is automatically published to PyPI when:
- You manually trigger the workflow (Actions → Publish to PyPI → Run workflow)
- You push changes to
pyproject.toml
on the main branch - A pull request that modifies
pyproject.toml
is merged to main
The publishing workflow:
- Copies documentation from
docs/
tocomfyui_embedded_docs/docs/
- Builds the package using
python -m build
- Publishes to PyPI using the configured PYPI_TOKEN secret