2015-07-07 23:59:22 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
#
|
|
|
|
# Bash script for the generation of code documentation.
|
|
|
|
#
|
|
|
|
|
|
|
|
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"
|
|
|
|
|
|
|
|
|
|
|
|
#jsdoc "src/assets/js" -d "doc/jsdoc"
|