Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to exclude directories from PHPDocumentor

I'm trying to run PHPDocumentor on my WAMPServer setup. It runs fine, but I'd like to exclude certain directories, such as \sqlbuddy\ which don't contain my own code. Ironically, PHPDocumentor appears to be ignoring my --ignore switch. I've tried several ways of expressing the same thing, but with the same result. Below is the command I'm running it with:

php.exe "C:\Users\username\Documents\PhpDocumentor\phpdoc" -t "C:\Program Files\wamp\www\docs" -o HTML:default:default -d "C:\Program Files\wamp\www" --ignore sqlbuddy\ --ignore docs\

Many thanks.

like image 543
Chris Avatar asked Dec 12 '08 09:12

Chris


2 Answers

I had the same problem, but different cause: ignoring more than one directory requires passing a comma-separated list i.e:

--ignore sqlbuddy/,docs/

like image 85
Sonata Avatar answered Sep 21 '22 00:09

Sonata


Which version of phpDocumentor are you using?

Because the phpDocumentor 1.4.2 release notes states:

This release fixes two Windows-specific bugs, one involving usage of the "--ignore" option, and one involving usage of the @filesource tag.

like image 22
Bob Fanger Avatar answered Sep 24 '22 00:09

Bob Fanger