Updated gitignore file.

This commit is contained in:
Alex Tselegidis 2015-07-07 22:59:22 +02:00
parent 5b8ab43e14
commit 30a97cfd0a
3 changed files with 15 additions and 9 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
doc
src/config.php src/config.php
src/application/logs/* src/application/logs/*

14
code-doc.sh Normal file
View file

@ -0,0 +1,14 @@
#!/bin/bash
#
# Bash script for the generation of code documentation.
#
rm -rf doc
mkdir doc
mkdir doc/apigen
php rsc/apigen.phar generate \
-s "src/application/controllers,src/application/models,src/application/libraries" \
-d "doc/apigen" --exclude "*external*" --tree --todo --template-theme "bootstrap"

View file

@ -1,9 +0,0 @@
#!bin/bash
# Generate PHP Documentation.
rm -rf "../doc/code/php/*"
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"
# Generate JS Documentation (requires jsdoc in nodejs environment).
rm -rf "../doc/code/js/*"
jsdoc "../src/assets/js" -d "../doc/code/js"