MaketRandevu/code-doc.sh

21 lines
496 B
Bash
Raw Normal View History

#!/bin/bash
2015-07-07 23:59:22 +03:00
#
# Bash script for the code documentation generation.
#
2015-07-07 23:59:22 +03:00
rm -rf doc
mkdir doc
2015-07-07 23:59:22 +03:00
mkdir doc/apigen
2015-07-07 23:59:49 +03:00
mkdir doc/jsdoc
2015-10-04 21:55:11 +03:00
mkdir doc/plato
2015-07-07 23:59:22 +03:00
php src/application/third_party/bin/apigen generate \
2015-07-07 23:59:22 +03:00
-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"
2015-10-04 21:55:11 +03:00
node node_modules/.bin/jsdoc "src/assets/js" -d "doc/jsdoc"
node node_modules/.bin/plato -r -d "doc/plato" "src/assets/js"