phpDocumentor configuration file ignore not working

623 views
Skip to first unread message

Bernard Lechler

unread,
Feb 18, 2016, 9:36:23 AM2/18/16
to phpDocumentor

Hi Everybody,


I have a bunch of php code in a folder called protected. I want phpDocumentor to document it for me. I put the following file named 'phpdoc.dist.xml' in the protected folder:


<?xml version="1.0" encoding="UTF-8" ?>
<phpdoc>
  <parser>
    <target>/path/to/docs</target>
  </parser>
  <transformer>
    <target>/path/to/docs</target>
  </transformer>
  <files>
    <directory>.</directory>
    <ignore>config/*</ignore>
    <ignore>extensions/*</ignore>
  </files>
  <transformations>
    <template name="responsive" />
  </transformations>
</phpdoc>

I then run this command:


phpdoc -d /path/to/protected -c /path/to/protected/phpdoc.dist.xml


However it seems to completely ignore the <ignore> directives. The template directive is at the very least observed, but the ignored directories are processed.

Bernard Lechler

unread,
Feb 18, 2016, 10:33:18 AM2/18/16
to phpDocumentor
Well, I don't know what to say.  After running it another time, it has worked properly.  I probably did not save the xml file properly or in the right place.


On Thursday, 18 February 2016 09:36:23 UTC-5, Bernard Lechler wrote:

Hi Everybody,


I have a bunch of php code in a folder called protected. I want phpDocumentor to document it for me. I put the following file named 'phpdoc.dist.xml' in the protected folder:

.....

Mike van Riel

unread,
Feb 26, 2016, 11:31:28 AM2/26/16
to phpdoc...@googlegroups.com
Awesome, good to hear it solved itself

--
You received this message because you are subscribed to the Google Groups "phpDocumentor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phpdocumento...@googlegroups.com.
To post to this group, send email to phpdoc...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/phpdocumentor/fb3d2188-4c1e-4c47-963e-9d7836637abf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

signature.asc
Reply all
Reply to author
Forward
0 new messages