diff --git a/__init__.py b/__init__.py index a26d67e..7312832 100644 --- a/__init__.py +++ b/__init__.py @@ -1,4 +1,6 @@ from .adv_control.nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS +from .adv_control import documentation WEB_DIRECTORY = "./web" __all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', "WEB_DIRECTORY"] +documentation.format_descriptions(NODE_CLASS_MAPPINGS) diff --git a/adv_control/documentation.py b/adv_control/documentation.py new file mode 100644 index 0000000..f73c9fd --- /dev/null +++ b/adv_control/documentation.py @@ -0,0 +1,47 @@ +from .logger import logger + +def image(src): + return f'' +def video(src): + return f'