Files
ComfyUI_frontend/utils/generate_doc.sh
Moritz Ulmer aec5d622a9 Remove extending the Javascript builtin objects
- Remove extending the Math & CanvasRenderingContext2D classes.
  - It was messing up the typescript 4.9+
  - Using the built-in roundRect function
  - Adding global clamp function
- Add some type corrections in litegraph.d.ts
- Fix a couple of build issues

Co-authored-by: Ranuka Perera <premium@sawrc.com>
Co-authored-by: Moritz Ulmer <moritz.ulmer@posteo.de>
2023-06-30 13:45:43 +02:00

8 lines
209 B
Bash
Executable File

#!/bin/bash
# For migration to JSDoc (YUIDoc was deprecated in 2014): https://github.com/pnstickne/yuidoc-to-jsdoc
cd "$(dirname "$0")" || exit
rm -rf ../docs/*
../node_modules/.bin/yuidoc ../src -o ../docs