Skip to content

Commit c6a50a2

Browse files
committed
doc: add note about docstrings in README
explain how to update the docstrings in storybook without restarting
1 parent ed6072b commit c6a50a2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ This will generate a new element called `demo`. It will also
3737
create a storybook file, so you will be able to see the new element
3838
in storybook (see the "Local development" section above).
3939

40+
Note: updates the docstrings in the code will not be reflected
41+
in Storybook's Docs tab unless you restart Storybook, or run the
42+
following command manually and refresh the page:
43+
44+
```
45+
npm run analyze-components
46+
```
47+
4048
## License
4149

4250
Wokwi Elements are released under the [MIT license](LICENSE).

0 commit comments

Comments
 (0)