Recently I have met with PhpDocumentor. It looks like a good documentation tool. I want to use the 'responsive-twig' as template which comes with phpDocumentor. I tried;
--template="responsive-twig" in command line with phpdoc, It says 'ERROR: Unknown command-line option "--template" encountered, use phpdoc -h for help'
Changed the 'name' attribute of the 'template' tag to 'responsive-twig' in /usr/share/php/phpDocumentor/data/phpdoc.tpl.xml, default was 'clean'
Changed the 'name' attribute of the 'template' tag to 'responsive-twig' in /usr/share/php/phpDocumentor/phpdoc.dist.xml
However I cannot change the default template.
I have installed phpDocumentor via PEAR. I have three phpDocumentor directories. One in /var/www and two other('phpDocumentor' and 'PhpDocumentor') in /usr/share/php.
There is a 'responsive-twig' folder under /usr/share/php/phpDocumentor/data/templates.
Please help!
phpdoc --versionat the command line? - toxalotpear info phpdoc/phpDocumentor? What version number is reported? If you typephpdoc -h, is--templateor--versionlisted as an option? - toxalotpear info PhpDocumentor, note the missingphpdoc/? If that returns anything, I'd try uninstalling both versions and then re-installing version 2. - toxalot