generate code docs for private interfaces, too

This commit is contained in:
El RIDO 2018-11-16 18:04:09 +01:00
parent 5b00f4ead7
commit 30bb34a4fe
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ $ sudo pear install phpdoc/phpDocumentor
To generate the documentation, change into the main directory and run phpdoc: To generate the documentation, change into the main directory and run phpdoc:
```console ```console
$ cd PrivateBin $ cd PrivateBin
$ phpdoc -t doc/phpdoc -d lib/ $ phpdoc --visibility public,protected,private -t doc/phpdoc -d lib/
``` ```
**Note:** When used with PHP 7, the prerelease of phpDocumentator 2.9 needs to be **Note:** When used with PHP 7, the prerelease of phpDocumentator 2.9 needs to be
@ -55,6 +55,6 @@ $ ln -s /usr/bin/nodejs /usr/local/bin/node
To generate the documentation, change into the main directory and run phpdoc: To generate the documentation, change into the main directory and run phpdoc:
```console ```console
$ cd PrivateBin $ cd PrivateBin
$ jsdoc -d doc/jsdoc js/privatebin.js $ jsdoc -p -d doc/jsdoc js/privatebin.js
``` ```