Skip to main content

Embedded documentation for ComfyUI nodes

Project description

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

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

Project details


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.4.0.tar.gz (6.9 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.4.0-py3-none-any.whl (9.6 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for comfyui_embedded_docs-0.4.0.tar.gz
Algorithm Hash digest
SHA256 d0c3d7a25d80baa825adbb9b08e9643d620c733d635b04d862435d64f2dee1a6
MD5 ef4d6caaf482ea3c03c0fe1b4829d1d9
BLAKE2b-256 cadb70ac02f5394fd550b28ac24385d924a5240774253c61d7aa17ab758fb119

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for comfyui_embedded_docs-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 97c4f8cdcace1e94a754128c4ef53edce0e3df0308df9e0c998080ebc4a5bfb2
MD5 c25f94fcce3d8a3564068a0e7ac54df2
BLAKE2b-256 3ad9c7976795a9b44483e6b1657ccd3d45fcb7409842a7d6f6c0fe1d11e83ae3

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 Pingdom Monitoring Sentry Error logging StatusPage Status page