From 30a97cfd0ab1f43692fe1f41d3909b2dac46784d Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Tue, 7 Jul 2015 22:59:22 +0200 Subject: [PATCH] Updated gitignore file. --- .gitignore | 1 + code-doc.sh | 14 ++++++++++++++ rsc/code-doc.sh | 9 --------- 3 files changed, 15 insertions(+), 9 deletions(-) create mode 100644 code-doc.sh delete mode 100644 rsc/code-doc.sh diff --git a/.gitignore b/.gitignore index 8b5367d2..5fc30c07 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ +doc src/config.php src/application/logs/* \ No newline at end of file diff --git a/code-doc.sh b/code-doc.sh new file mode 100644 index 00000000..d4af0fd1 --- /dev/null +++ b/code-doc.sh @@ -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" \ No newline at end of file diff --git a/rsc/code-doc.sh b/rsc/code-doc.sh deleted file mode 100644 index 1cdadf61..00000000 --- a/rsc/code-doc.sh +++ /dev/null @@ -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" \ No newline at end of file