3 JSDUCK_MWVERSION
=master
4 if [[ "$1" == "--version" && "$2" != "" ]]
9 echo "Usage $0: [--version <mediawiki version>]"
14 MWCORE_DIR
=$
(cd $
(dirname $0)/..
; pwd)
17 --config=$MWCORE_DIR/maintenance
/jsduck
/config.json \
18 --footer="Documentation for MediaWiki core ($JSDUCK_MWVERSION). Generated on {DATE} by {JSDUCK} {VERSION}." \
19 && echo 'JSDuck execution finished.'
21 ln -s ..
/..
/resources
$MWCORE_DIR/docs
/js
/modules