2014-02-10 01:10:30 +00:00
|
|
|
#! /bin/bash
|
2014-03-05 15:53:33 +00:00
|
|
|
here="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
godotHome=$(dirname "$here")
|
|
|
|
docTarget=${here}/html/class_list
|
|
|
|
toolsRoot=${godotHome}/tools
|
|
|
|
|
|
|
|
throw() {
|
|
|
|
echo "$@" >&2
|
|
|
|
exit 1
|
|
|
|
}
|
|
|
|
|
|
|
|
[ -d "$docTarget" ] || mkdir -p "$docTarget" || throw "Could not create doc target $docTarget"
|
|
|
|
|
|
|
|
cd "$docTarget"
|
|
|
|
python ${toolsRoot}/docdump/makehtml.py -multipage ${here}/base/classes.xml
|
|
|
|
cd "$here"
|
2014-02-10 01:10:30 +00:00
|
|
|
|