From 30bb34a4fe9a578fb8eb4d9ba22b305cc3a55e89 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Fri, 16 Nov 2018 18:04:09 +0100 Subject: [PATCH] generate code docs for private interfaces, too --- doc/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/README.md b/doc/README.md index d0ecdbc..0e7bc70 100644 --- a/doc/README.md +++ b/doc/README.md @@ -20,7 +20,7 @@ $ sudo pear install phpdoc/phpDocumentor To generate the documentation, change into the main directory and run phpdoc: ```console $ 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 @@ -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: ```console $ cd PrivateBin -$ jsdoc -d doc/jsdoc js/privatebin.js +$ jsdoc -p -d doc/jsdoc js/privatebin.js ```