Re: migrating documentation to pear.php.net

From: Date: Fri, 06 Apr 2007 17:26:27 +0000
Subject: Re: migrating documentation to pear.php.net
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-9605@lists.php.net to get a copy of this message
Lukas Feiler wrote: > Hi, > > My package XML_Query2XML is documented using a DocBook package-level > tutorial parsed into html by phpDocumentor: > http://query2xml.sf.net/docs/ > > Due to the size of the tutorial it is not part of the API docs which are > available as well but are not intended as a primary source of information > for general users. > > As pear.php.net now also provides the possibility to add comments to the > manual hosted at pear.php.net, I'm thinking about migrating the > documentation. > But there are a couple of issues I was hoping somebody could help me > with/clarify: > - the current structure of my tutorial has a depth of 3 > (there are 56 refsect3 elements) - what's the best way to do this > in the pear manual; AFAIK the maximum depth is 2 > - I would like to keep two version of the manual, one as > a single HTML file on query2xml.sf.net (as it currently is) > and the new one on pear.php.net. Therefore it would be great if I could > automatically convert the tutorial that I have now to peardoc - it's both > DocBook after all. phpDocumentor does have a XML:DocBook/peardoc2:default > converter but I can't get it to also convert the package-level tutorial. > - Currently the tutorial contains a couple of links into the API > documentation - for convenience of other developers and advanced users. > Is there a way to do this in the pear manual without using a URL? Do you > think it's a good idea to begin with? Hi, There are several developers who have written large-depth tutorials. I just had what I hope is a brilliant idea on how to handle these: Why not create a separate section of the manual for in-depth tutorials? Then we can link to the tutorial from the package-specific docs. This will also allow tutorials on how to *combine* the usage of packages to be put into the manual - something that users really desperately need, especially if they are just getting started with PHP as a language for a "need this by the end of the weekend for my boss" kind of project. If this sounds good, we would create a new top-level chapter called "Tutorials" and index each tutorial by name. Comments? Greg

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