Re: Docgen and PHP 5
| From: | Christian Weiske | Date: | Fri, 29 Apr 2005 18:17:28 +0000 |
| Subject: | Re: Docgen and PHP 5 | ||
| References: | 1 | Groups: | php.gtk.doc |
| Request: | Send a blank email to php-gtk-doc+get-1417@lists.php.net to get a copy of this message | ||
Hi Scott,
> Aside from Reflection, the new SimpleXML features should make merging
> the docs much easier. Any thoughts?
Signals are generated via reflection right now.
But I don't know if it's really necessary to change docgen now that
everything works and IMO we won't need it so often as the base reference
now.
Docmerger would be nice to incorporate changes in the api...
For the docmerger script I would think prefer the following:
- don't read in the single pages and write them out through an xml
class. The indents and other things written by authors should stay the
way they are in the file.
- I'd suggest that an xml class (be it simplexml or something different)
reads the files to get to know which methods with which parameters are
in the manual right now, compares the difference with the current api
and adds the changes BUT by inserting plain xml into the files at
certain positions, not by adding it to the xml tree and rewriting the
new file.
Regards/MfG,
Christian Weiske
--
XMMS is playing now:
Sportfreunde Stiller - Laut Anhören
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc