I hope my answer does not go down. I include my answer here for future reference and for others who may benefit from this.
Creating the phpdoc.xml configuration file in the project root directory helps to greatly complicate the commands by including several include / ignore parameters in it. You can easily compile all the necessary parameters in a file that phpdoc will read to help create documentation.
For example, the phpdoc.xml project configuration file looks like this: phpdoc options:
<?xml version="1.0" encoding="UTF-8" ?> <phpdoc> <title>App Plugins Documentations</title> <parser> <target>reference/docs</target> </parser> <transformer> <target>reference/docs</target> </transformer> <files> <directory>.</directory> <ignore>assets/*</ignore> <ignore>includes/gm-virtual-pages/*</ignore> <ignore>includes/app_virtual_pages/*</ignore> <ignore>includes/third-party/*</ignore> <ignore>includes/vendor/*</ignore> <ignore>reference/docs/*</ignore> <ignore>storage/*</ignore> <ignore>views/*</ignore> <ignore>index.php</ignore> </files> </phpdoc>
This way you can include / ignore multiple paths and files; even specific files, as in your question. All you have to do is enable the ignore parameter with your relative file path.
<ignore>/modules/module1/uploader.php</ignore>
Just run the phpdoc command in the project root directory with the phpdoc.xml configuration file.
source share