easyappointments/code-doc.sh
2015-07-20 21:31:46 +02:00

18 lines
No EOL
399 B
Bash

#!/bin/bash
#
# Bash script for the code documentation generation.
#
rm -rf doc
mkdir doc
mkdir doc/apigen
mkdir doc/jsdoc
php rsc/apigen.phar generate \
-s "src/application/controllers,src/application/models,src/application/libraries" \
-d "doc/apigen" --exclude "*external*" --tree --todo --template-theme "bootstrap"
node node_modules/.bin/jsdoc "src/assets/js" -d "doc/jsdoc"