Skip to main content

comfyui_embedded_docs

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.

Previewing Changes Locally

To preview your documentation changes in ComfyUI:

  1. 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
    
  2. Launch and preview:

    • Start ComfyUI
    • Refresh the frontend tab after making documentation changes

Publishing

The package is automatically published to PyPI when:

  1. You manually trigger the workflow (Actions → Publish to PyPI → Run workflow)
  2. You push changes to pyproject.toml on the main branch
  3. A pull request that modifies pyproject.toml is merged to main

The publishing workflow:

  1. Builds the package using python -m build
  2. 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 nodes
  • docs-generation/scripts/batch_generate_docs.py + batch_translate_docs.py – LLM-based doc generation and 11-language translation
  • docs-generation/scripts/update_param_translations.py – reconcile parameter names with the ComfyUI frontend i18n
  • docs-generation/scripts/sync_to_comfy_docs.py – generate built-in-nodes/*.mdx + update docs.json navigation
  • docs-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

Metadata

Release files for comfyui-embedded-docs 0.5.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for comfyui-embedded-docs 0.5.14
File Size Uploaded
comfyui_embedded_docs-0.5.14.tar.gz 16.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for comfyui-embedded-docs 0.5.14
File Interpreter ABI Platform
comfyui_embedded_docs-0.5.14-py3-none-any.whl Python 3 none any Details

Total release size: 40.6 MB

Release files / comfyui_embedded_docs-0.5.14.tar.gz

Download URL comfyui_embedded_docs-0.5.14.tar.gz
Size 16.2 MB
Tags Source
SHA-256 checksum
How to use checksums
e51bc3b2999bb7a891dbd285f097adb116e0b11b5cdf2376a1bacf90eb2da381
BLAKE2b-256 checksum
How to use checksums
ee09b5edfd24523b3757d7e24f6e7b07864c856387feab9e2ce066d5bf56c405
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / comfyui_embedded_docs-0.5.14-py3-none-any.whl

Download URL comfyui_embedded_docs-0.5.14-py3-none-any.whl
Size 24.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
eae6c27521b6243250add8fa39f3263df3b5121739a2fe66ff278f2517f499e9
BLAKE2b-256 checksum
How to use checksums
219987493c6a2c90801e949a5fc8e2f35acb45a05f79ba779dabd18c5d07dad0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.5.14 This release

2 release files

0.5.13

2 release files

0.5.12

2 release files

0.5.11

2 release files

0.5.10

2 release files

0.5.9

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page