2015-08-16 09:55:31 -04:00
|
|
|
Generating documentation
|
|
|
|
========================
|
|
|
|
|
|
|
|
In order to generate the documentation, you will need to install the following
|
|
|
|
packages and its dependencies:
|
|
|
|
* phpdoc
|
|
|
|
* graphviz
|
|
|
|
|
|
|
|
Details about [installing phpDocumentor](http://phpdoc.org/docs/latest/getting-started/installing.html)
|
|
|
|
can be found in its own documentation.
|
|
|
|
|
|
|
|
Example for Debian and Ubuntu:
|
2015-08-27 15:41:21 -04:00
|
|
|
$ sudo aptitude install php-pear graphviz
|
2015-08-16 09:55:31 -04:00
|
|
|
$ sudo pear channel-discover pear.phpdoc.org
|
|
|
|
$ sudo pear install phpdoc/phpDocumentor
|
|
|
|
|
|
|
|
To generate the documentation, change into the main directory and run phpdoc:
|
|
|
|
$ cd ZeroBin
|
|
|
|
$ phpdoc -d lib/ -t doc/
|