flm01/mote/v1/openwrt/package/luci/build/makedocs.sh

3 lines
166 B
Bash
Raw Permalink Normal View History

luadoc -d $2 --no-files $(for f in $(find $1 -name '*.lua' -type f); do if grep -q -- "@return" $f; then echo $f; fi; done)
echo API-Documentation was created in $2.