Re: docs errors

From: Date: Mon, 08 Mar 2004 12:03:43 +0000
Subject: Re: docs errors
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-2920@lists.php.net to get a copy of this message
Are you using the command-line tool to generate docs or the webinterface of phpDocumentor? I've only worked with the commandline- version since it's imho far more easy to customize. There are sample- scripts for doc-generation at http://cvs.php.net/cvs.php/pear/Image_Graph just make a few adjustments for your case in the gendoc-files (have a look at the commandline-switches of phpDocumentor) and you should easily be able to gen the docs ... Good luck, Stefan On 8 Mar 2004 at 12:46, David Costa wrote: > > On Mar 8, 2004, at 12:34 PM, Stefan Neufeind wrote: > > > Well, the intention I did not fix the entity-bugs in net-smtp/mail- > > queue-bugs yesterday was that I thought David would like to correct > > his phpDocumentor-settings (also for feature revisions of the docs) > > and commit himself when he managed to do it. But now that you > > corrected them this is surely nonsense ... anyway, thanks for > > fixing. > > > After spending 5 hours with it desperation and frustration won: I > gave up and asked didou for a 911 rescue :D > > > David: Please still try to get your phpDocumentor working as > > expected, since I believe it was a general settings-problem that you > > had during doc-generation ... > > The only solution I could see is having you or Greg to setup in one of > my remote servers an ideal, working, nice etc. PhpDocumentor > environment. > > Believe me, I tried several times but things do not work for me. I > have to manually change the ini file for each package (to avoid the > default.package) but that is, as far as I can see, not sufficient. > > My local environment is running Mac OS X, pear works fine, so does > apache, postgresql and php 5 b4 but for an odd reason I can't get > documentor to produce something that works on the fly. > > It might be me being too dumb for it but I really did my best. To be > frank, for net-smtp I spent almost more time debugging then the normal > time to do these by hand :D > It might be useful to have a PhpDocumentor for pear howto/help page > like http://www.php.net/manual/howto/ > > I am sure there is a way to have it working, I just don't know it. > > Sorry again, > David > > > > > > > > Regards, > > Stefan > > > > On 8 Mar 2004 at 12:25, Mehdi Achour wrote: > > > >> Hi all, > >> > >> everything should be fine now, can someone make test on a fresh > >> checkout ? there were several problems with the docs (mal-formed > >> tags, bad entities, unexistant entity, missing tags, etc etc). > >> > >> didou > >> > >> PS: David: I want a big screen TV :) > >> > >> > >> Stefan Neufeind wrote: > >>> 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.

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