2 # $Id: makedoc.sh,v 1.2 2007/12/10 01:11:19 ashnazg Exp $
\r
5 # * makedoc - PHPDocumentor script to save your settings
\r
7 # * Put this file inside your PHP project homedir, edit its variables and run whenever you wants to
\r
8 # * re/make your project documentation.
\r
10 # * The version of this file is the version of PHPDocumentor it is compatible.
\r
12 # * It simples run phpdoc with the parameters you set in this file.
\r
13 # * NOTE: Do not add spaces after bash variables.
\r
15 # * @copyright makedoc.sh is part of PHPDocumentor project {@link http://freshmeat.net/projects/phpdocu/} and its LGPL
\r
16 # * @author Roberto Berto <darkelder (inside) users (dot) sourceforge (dot) net>
\r
17 # * @version Release-1.1.0
\r
21 ##############################
\r
23 ##############################
\r
26 # * title of generated documentation, default is 'Generated Documentation'
\r
28 # * @var string TITLE
\r
30 TITLE="Your Project Documentation"
\r
33 # * name to use for the default package. If not specified, uses 'default'
\r
35 # * @var string PACKAGES
\r
37 PACKAGES="yourProject"
\r
40 # * name of a directory(s) to parse directory1,directory2
\r
41 # * $PWD is the directory where makedoc.sh
\r
43 # * @var string PATH_PROJECT
\r
48 # * path of PHPDoc executable
\r
50 # * @var string PATH_PHPDOC
\r
52 PATH_PHPDOC=~/phpdoc/phpdoc
\r
55 # * where documentation will be put
\r
57 # * @var string PATH_DOCS
\r
62 # * what outputformat to use (html/pdf)
\r
64 # * @var string OUTPUTFORMAT
\r
69 # * converter to be used
\r
71 # * @var string CONVERTER
\r
78 # * @var string TEMPLATE
\r
83 # * parse elements marked as private
\r
85 # * @var bool (on/off) PRIVATE
\r
89 # make documentation
\r
90 "$PATH_PHPDOC" -d "$PATH_PROJECT" -t "$PATH_DOCS" -ti "$TITLE" -dn $PACKAGES \
\r
91 -o $OUTPUTFORMAT:$CONVERTER:$TEMPLATE -pp $PRIVATE
\r
94 # vim: set expandtab :
\r