Reputation: 1984
I've been trying to get a custom template to work with PHPDocumentor (2) without much luck. The documentation on their site is incomplete and I'm kind of stumped.
What I've done is downloaded a copy of a complete template and reference it in my command, like so:
php phpdoc.php
--template=/path/to/customtemplate/
-d /path/to/php/source/files
-t /path/to/generated/content/
The command runs fine: it generates the documentation correctly but appears to be ignoring the --template
option - at least, any changes I make to the template files in the /customtemplate
folder are ignored.
Anyone have any idea?
(Thanks in advance!)
Upvotes: 5
Views: 1436
Reputation: 304
Instead of declaring the template command on the CLI you might try changing your phpdoc.dist.xml configuration file so that it pulls the template name or path from there directly.
Upvotes: 0