Previously, the title attribute was used to link a selected widget to
the correct spot in the documentation, but this had the side effect of
causing a tooltip to appear when the documentation itself was moused
over. Since this tooltip would block the documentation text itself and
provide no useful information to the user, this lookup information is
now stored as vhs_title attribute
A helper function has been added to assist in adding images to
documentation
A preceding forward slash is required when using the new ComfyUI
frontend. Since this was missing from the call to fetch files for path
widgets, they weer not functioning as expected.
Add check for null when pulling short description
Split the test description into multiple lines to clean up diffs
Stop decreasing size after an arbitrary depth
Include example of documenting widget values
In the new frontend, the DESCRIPTION field is being used for
standardized basic documentation. To keep the more advanced features
of this branch, a short human readable description can now be
derived from the full description. After initial load, the description
field is replaced from this shorter description.
Rather than adjusting font size, a transformation is applied to the div
itself, preventing reflow on zoom
The expand/collapse button is now only clickable on the text itself
Basic styling has been applied to the scrollbar when needed
Nodes with a DESCRIPTION variable have that variable displayed as raw
html. A documentation file has been added to assist in
mocking documentation in a standardized format.
Logic to allow connecting node interaction to equivalent documentation
is partial. Currently, the hovered item is highlighted, but the intent
is to either automatically scroll to the selected region, or collapse
other regions.