MaketRandevu/code-doc.sh

18 lines
399 B
Bash
Raw Normal View History

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