forked from mirrors/easyappointments
Updated gitignore file.
This commit is contained in:
parent
5b8ab43e14
commit
30a97cfd0a
3 changed files with 15 additions and 9 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
doc
|
||||
src/config.php
|
||||
src/application/logs/*
|
14
code-doc.sh
Normal file
14
code-doc.sh
Normal 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"
|
|
@ -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"
|
Loading…
Reference in a new issue