mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-12-24 06:49:29 -05:00
fix phpdoc parameters for newer releases
This commit is contained in:
parent
c090f8d27f
commit
ee151ad29d
2
Makefile
2
Makefile
@ -26,7 +26,7 @@ doc-js: ## Generate JS code documentation.
|
||||
jsdoc -p -d doc/jsdoc js/privatebin.js js/legacy.js
|
||||
|
||||
doc-php: ## Generate JS code documentation.
|
||||
phpdoc --visibility public,protected,private -t doc/phpdoc -d lib/
|
||||
phpdoc --visibility=public,protected,private --target=doc/phpdoc --directory=lib/
|
||||
|
||||
increment: ## Increment and commit new version number, set target version using `make increment VERSION=1.2.3`.
|
||||
for F in `grep -l -R $(REGEX_CURRENT_VERSION) $(VERSION_FILES) | grep -v -e tst/log/ -e ":0" -e CHANGELOG.md`; \
|
||||
|
@ -21,7 +21,7 @@ $ sudo pear install phpdoc/phpDocumentor
|
||||
To generate the documentation, change into the main directory and run phpdoc:
|
||||
```console
|
||||
$ cd PrivateBin
|
||||
$ phpdoc --visibility public,protected,private -t doc/phpdoc -d lib/
|
||||
$ phpdoc --visibility=public,protected,private --target=doc/phpdoc --directory=lib/
|
||||
```
|
||||
|
||||
**Note:** When used with PHP 7, the prerelease of phpDocumentator 2.9 needs to be
|
||||
|
Loading…
Reference in New Issue
Block a user