mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-29 03:12:39 +03:00
20 lines
496 B
Bash
20 lines
496 B
Bash
#!/bin/bash
|
|
|
|
#
|
|
# Bash script for the code documentation generation.
|
|
#
|
|
|
|
rm -rf doc
|
|
|
|
mkdir doc
|
|
mkdir doc/apigen
|
|
mkdir doc/jsdoc
|
|
mkdir doc/plato
|
|
|
|
php src/application/third_party/bin/apigen 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"
|
|
|
|
node node_modules/.bin/plato -r -d "doc/plato" "src/assets/js"
|