mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
added note for phpdoc with PHP 7
This commit is contained in:
parent
313b5d34d2
commit
62dd25b91a
|
@ -6,8 +6,9 @@ packages and its dependencies:
|
||||||
* phpdoc
|
* phpdoc
|
||||||
* graphviz
|
* graphviz
|
||||||
|
|
||||||
Details about [installing phpDocumentor](https://phpdoc.org/docs/latest/getting-started/installing.html)
|
Details about
|
||||||
can be found in its own documentation.
|
[installing phpDocumentor](https://phpdoc.org/docs/latest/getting-started/installing.html)
|
||||||
|
can be found in that projects documentation.
|
||||||
|
|
||||||
Example for Debian and Ubuntu:
|
Example for Debian and Ubuntu:
|
||||||
```console
|
```console
|
||||||
|
@ -21,3 +22,8 @@ To generate the documentation, change into the main directory and run phpdoc:
|
||||||
$ cd PrivateBin
|
$ cd PrivateBin
|
||||||
$ phpdoc -d lib/ -t doc/
|
$ phpdoc -d lib/ -t doc/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Note:** When used with PHP 7, the prerelease of phpDocumentator 2.9 needs to be
|
||||||
|
manually installed by downloading it from
|
||||||
|
[GitHub](https://github.com/phpDocumentor/phpDocumentor2/releases/download/v2.9.0/phpDocumentor.phar)
|
||||||
|
and then manually moving it to e.g. `/usr/local/bin` and making it executable.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user