comfyui_embedded_docs
[!NOTE] This is only for core nodes. For embedded custom node documentation, please see https://docs.comfy.org/custom-nodes/help_page
Updating Documentation
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.
Previewing Changes Locally
To preview your documentation changes in ComfyUI:
-
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.
Publishing
The package is automatically published to PyPI when:
- You manually trigger the workflow (Actions → Publish to PyPI → Run workflow)
- You push changes to
pyproject.tomlon the main branch - A pull request that modifies
pyproject.tomlis merged to main
The publishing workflow:
- Builds the package using
python -m build - Publishes to PyPI using the configured PYPI_TOKEN secret
Syncing to Comfy docs
The docs-generation pipeline syncs embedded-docs (en.md, zh.md, ja.md, ko.md, and assets) to the Comfy-Org/docs repository as built-in node MDX files and updates the navigation (docs.json).
The pipeline lives in docs-generation/ and includes:
docs-generation/scripts/scan_missing_nodes.py– scan the ComfyUI codebase, detect new/changed nodesdocs-generation/scripts/batch_generate_docs.py+batch_translate_docs.py– LLM-based doc generation and 11-language translationdocs-generation/scripts/update_param_translations.py– reconcile parameter names with the ComfyUI frontend i18ndocs-generation/scripts/sync_to_comfy_docs.py– generatebuilt-in-nodes/*.mdx+ updatedocs.jsonnavigationdocs-generation/scripts/version_tracker.py– per-node source hash tracking
See docs-generation/README.md for full setup and workflow.
Environment variables (optional):
EMBEDDED_DOCS_PATH– Path to this repo (default: the repo this pipeline lives in)COMFYUI_PATH– Path to the ComfyUI repo (used to read node category from source)TARGET_DOCS– Path to the comfy/docs root (e.g./path/to/comfy/docs)
Category mapping: The sync script uses each node's ComfyUI category to put it in the right docs.json group. For the most complete categories (including API nodes and nodes that get category from a base class), run the node scanner once so it can write docs-generation/data/all_nodes_info.json; the sync script will prefer that file when present.
# Optional: run scanner first to build all_nodes_info.json (better category coverage)
python docs-generation/scripts/scan_missing_nodes.py
Run from repo root:
# Test mode: sync first 10 nodes (dry run: no writes)
TARGET_DOCS=/path/to/comfy/docs python docs-generation/scripts/sync_to_comfy_docs.py --mode test --count 10 --dry-run
# Sync all nodes with en.md and update docs.json
TARGET_DOCS=/path/to/comfy/docs python docs-generation/scripts/sync_to_comfy_docs.py --mode all
# Sync a single node
TARGET_DOCS=/path/to/comfy/docs python docs-generation/scripts/sync_to_comfy_docs.py --node Load3D
You can also use the interactive menu: run python docs-generation/main.py and choose option 5) Sync to Comfy docs.
Linting
To ensure minimal consistency across nodes documentation, it is recommended to follow the Markdown linting principles. Some of the linting issues can be fixed automatically with the shell script below. Note this requires to install markdownlint-cli.
# Install markdownlint-cli
# If you encounter the error npm.ps1 cannot be loaded because running scripts is disabled on this system
# Run this command: Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
npm install -g markdownlint-cli
# Fix linting issues in all markdown files under docs directory,using shell script (Linux)
bash fix_markdown.sh
# Fix linting issues for a specific node's documentation
bash fix_markdown.sh ClipLoader # This will only check files in comfyui_embedded_docs/docs/ClipLoader/
# Or fix linting issues in markdown files, using powershell script (Windows)
powershell -ExecutionPolicy Bypass -File fix_markdown.ps1
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file comfyui_embedded_docs-0.5.10.tar.gz.
File metadata
- Download URL: comfyui_embedded_docs-0.5.10.tar.gz
- Upload date:
- Size: 11.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fead23e5e2fced8fe5b3d2855b3cd3c69afce261e1f28747db121d3735a2aea
|
|
| MD5 |
bcbdc1f458ebe5c28aedce32ddcb0b4a
|
|
| BLAKE2b-256 |
dff3e44bee076777b0fd2b1748dffe6fa1859a8aea004f9c448f746e206188ba
|
File details
Details for the file comfyui_embedded_docs-0.5.10-py3-none-any.whl.
File metadata
- Download URL: comfyui_embedded_docs-0.5.10-py3-none-any.whl
- Upload date:
- Size: 16.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54f9bb2157a79dce7a68c975ee98be03214f962d41700e17ce194119e863ebb6
|
|
| MD5 |
aca9f583a320e5ff845afd7a3d60d699
|
|
| BLAKE2b-256 |
2f95ee4f8fae3a1305958dc5f5a94d09d7da74336dae968716c33c64cdf2301d
|