PrivateBin/doc/README.md

24 lines
633 B
Markdown
Raw Normal View History

Generating documentation
========================
In order to generate the documentation, you will need to install the following
packages and its dependencies:
* phpdoc
* graphviz
2016-07-03 11:46:10 -04:00
Details about [installing phpDocumentor](https://phpdoc.org/docs/latest/getting-started/installing.html)
can be found in its own documentation.
Example for Debian and Ubuntu:
2016-07-03 11:45:37 -04:00
```console
$ sudo aptitude install php-pear graphviz
$ sudo pear channel-discover pear.phpdoc.org
$ sudo pear install phpdoc/phpDocumentor
```
To generate the documentation, change into the main directory and run phpdoc:
2016-07-03 11:45:37 -04:00
```console
$ cd ZeroBin
$ phpdoc -d lib/ -t doc/
```