From 22b1a0b6aec9651549e75469c4de43ea33c62f3a Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 6 Apr 2016 17:01:53 +0200 Subject: update lua doc to html generator --- tools/update_luadoc.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 tools/update_luadoc.sh (limited to 'tools/update_luadoc.sh') diff --git a/tools/update_luadoc.sh b/tools/update_luadoc.sh new file mode 100755 index 0000000000..09482761fb --- /dev/null +++ b/tools/update_luadoc.sh @@ -0,0 +1,18 @@ +#!/bin/sh +## ardour needs to be configured with --luadoc and build should be up-to date. + +cd `dirname $0` +set -e +test -f ../libs/ardour/ardour/ardour.h +test -e ../gtk2_ardour/arluadoc +test -e ../build/gtk2_ardour/luadoc + +# generate ../doc/luadoc.json.gz +../gtk2_ardour/arluadoc + +# generate ../doc/ardourapi.json.gz +./doxy2json/ardourdoc.sh + +php fmt-luadoc.php > /tmp/luadoc.html +# ^^ needs manual copy to ardour-manual +ls -l /tmp/luadoc.html -- cgit v1.2.3