mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-14 23:42:35 +08:00
Update documentation for custom nodes directory
Clarified documentation on custom nodes directory argument, removed documentation on environment variable
This commit is contained in:
parent
60163d5643
commit
41b875c0ed
@ -34,11 +34,12 @@ def safe_load_json_file(file_path: str) -> dict:
|
|||||||
class CustomNodeManager:
|
class CustomNodeManager:
|
||||||
"""Manages and resolves folders for custom nodes.
|
"""Manages and resolves folders for custom nodes.
|
||||||
|
|
||||||
The custom_nodes folder location can be overridden using either
|
The custom_nodes folder location can be overridden
|
||||||
by passing in a folder through client argument --custom-nodes-directory,
|
by passing in a folder argument --custom-nodes-directory.
|
||||||
or by setting COMFYUI_CUSTOM_NODES_DIR as an environment variable.
|
|
||||||
|
|
||||||
The cli argument takes prescedence if passed in.
|
The argument can take appropriately delimited path entries, e.g.
|
||||||
|
`... --custom-nodes-directory /path/to/custom1:/path/to/custom2` for linux / osx (:)
|
||||||
|
`... --custom-nodes-directory "X:\\path\\to\\custom1;X:\\path\\to\\custom2"` for windows (;)
|
||||||
"""
|
"""
|
||||||
@lru_cache(maxsize=1)
|
@lru_cache(maxsize=1)
|
||||||
def build_translations(self):
|
def build_translations(self):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user