Re: docs errors

From: Date: Mon, 08 Mar 2004 00:24:38 +0000
Subject: Re: docs errors
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-2902@lists.php.net to get a copy of this message
On 7 Mar 2004 at 18:11, David Costa wrote: > It looks like both my new docs (net-smtp and mail-queue) will break > the manual if linked to networking and mail menus. > > See error logs below. > > I am really sorry to bother with this, but I don't have any great idea > to fix these. Both packages where generated initially with > phpdocumentor and modified one by one adding missing descriptions and > documentation. > > All the docs are already in the CVS, the only missing thing is the > link to their menu page and of course I can't do that till the errors > are cleared. All the entities-errors you reported are imho just related to a wrong generation of the docs. Which command-lines did you use for doc- generation? Judging from the doc-files of net-smtp it seems that your category is set to "networking.net-smtp" ... and then "net-smtp" also follows as the package-name. Make sure to set the category to "networking" without including net-smtp at that point. This should give you the correct entity-names. e.g. package.networking.net-smtp.auth instead of package.networking.net-smtp.net-smtp.auth For mail-queue a similar problem appears. You have not defined any category for doc-generation at all. So the standard "default" is used. So be sure to set the category correctly when re-generating. Please try to regenerate those docs and see if it helps, since this is easier than changing all files by hand ... and it wouldn't help you much either :-)) It's basically afaik needed to reflect the entity-structure also in the filenames. So if you have package/networking/net-smtp/auth.xml then it would also be "package.networking.net-smtp.auth" in your entities (note: *one* net-smtp in the name). About the errors "character data is not allowed here" etc. Let's see if these still occur after you fixed the other problems. Check them in again once you've successfully eliminated the entity-problems described above. Good luck, Stefan

« previous php.pear.doc (#2902) next »