Skip to main content

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:

  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

[!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:

  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 script doc_automation/sync_to_comfy_docs.py syncs embedded-docs (en.md, zh.md, and assets) to the comfy/docs repository as built-in node MDX files and updates the navigation (docs.json).

Environment variables (optional):

  • EMBEDDED_DOCS_PATH – Path to this repo (default: parent of doc_automation)
  • 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 doc_automation/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 doc_automation/scan_missing_nodes.py

Run from repo root:

# Test mode: sync first 10 nodes (dry run: no writes)
python doc_automation/sync_to_comfy_docs.py --mode test --count 10 --dry-run

# Sync all nodes with en.md and update docs.json
python doc_automation/sync_to_comfy_docs.py --mode all

# Sync a single node
python doc_automation/sync_to_comfy_docs.py --node Load3D

You can also use the interactive menu: run python doc_automation/main.py and choose option 5) 同步到 Comfy 文档 (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

comfyui_embedded_docs-0.5.8.tar.gz (10.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

comfyui_embedded_docs-0.5.8-py3-none-any.whl (15.5 MB view details)

Uploaded Python 3

File details

Details for the file comfyui_embedded_docs-0.5.8.tar.gz.

File metadata

  • Download URL: comfyui_embedded_docs-0.5.8.tar.gz
  • Upload date:
  • Size: 10.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for comfyui_embedded_docs-0.5.8.tar.gz
Algorithm Hash digest
SHA256 c3a7c6a571dc4e4c7b52be6a030de4b6cd9968dc6a9de2ea2a6776fc0e418f05
MD5 54277cc7657713302f25842956ee0ada
BLAKE2b-256 5378a67c865524805d6e6d23b8a177cd8bc5baa7becf8aafc56deb358ccc7f19

See more details on using hashes here.

File details

Details for the file comfyui_embedded_docs-0.5.8-py3-none-any.whl.

File metadata

File hashes

Hashes for comfyui_embedded_docs-0.5.8-py3-none-any.whl
Algorithm Hash digest
SHA256 4a79c52048aab36ae066683442bff4249e35a79b113d372bda2dd0fa60a3759b
MD5 0e20d2fa61217e002dc8c4e982824feb
BLAKE2b-256 4bdab4f4fd8b9bd89b77670a69344be4147952caca57b8e96e0fc6090fbe31bc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page