phpDocumentor and $Revision$ in peardoc converter
| From: | Greg Beaver | Date: | Thu, 09 Oct 2003 02:51:39 +0000 |
| Subject: | phpDocumentor and $Revision$ in peardoc converter | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-1579@lists.php.net to get a copy of this message | ||
Hi,
When phpDocumentor 1.2.3 is released soon, it will contain an unmodified $Revision$ tag in every generated template file. Until today, I didn't know about the ability to check out a file using the -kk option, as any $Revision$ tags in previous attempts would have the revision from phpdoc.org's cvs, and not from peardoc/ - which caused some seriously annoying false conflicts on cvs commit attempts of generated docs.
For those who wish to generate docs using phpDocumentor that will contain the $Revision$ tag, it is best to simply add it to all the top-level .tpl files (those containing <refsect> or some other top-level tag) in data_dir/PhpDocumentor/phpDocumentor/Converters/XML/DocBook/peardoc2/templates/default/templates
Otherwise known as the longest path in the history of the universe (this will be a bit different in 2.0)
:)
Greg