MaketRandevu/rsc/code-doc.sh

9 lines
412 B
Bash
Raw Normal View History

#!bin/bash
2015-01-29 00:54:11 +02:00
# Generate PHP Documentation.
2015-01-22 00:17:16 +02:00
rm -rf "../doc/code/php/*"
2015-01-29 00:54:11 +02:00
php apigen.phar generate -s "../src/application/controllers,../src/application/models,../src/application/libraries" -d "../doc/code/php" --exclude "*external*" --tree --todo --template-theme "bootstrap"
2015-01-22 00:17:16 +02:00
# Generate JS Documentation (requires jsdoc in nodejs environment).
rm -rf "../doc/code/js/*"
jsdoc "../src/assets/js" -d "../doc/code/js"