4 JSDUCK_MWVERSION
=master
5 if [[ "$1" == "--version" && "$2" != "" ]]
10 FILENAME
=$
(basename $0)
11 echo "Usage: $FILENAME [--version <mediawiki version>]"
16 MWCORE_DIR
=$
(cd $
(dirname $0)/..
; pwd)
19 --config=$MWCORE_DIR/maintenance
/jsduck
/config.json \
20 --footer="Documentation for branch ($JSDUCK_MWVERSION) on {DATE} by {JSDUCK} {VERSION}." \
23 echo 'JSDuck execution finished.'
25 ln -s ..
/..
/resources
$MWCORE_DIR/docs
/js
/modules