the root of your project is where you put the code that you need to genereate the doc. example: you need to generate the doc for code inside /var/www/example
directory, then the phpdoc.dist.xml. shoud be in it. It works just like composer
and phpunit
.
example again:
$ phpdoc -d ./src -t ./docs/api
phpdoc.dist.xml should bi in ./src