Re: migrating documentation to pear.php.net
| From: | Gregory Beaver | Date: | Fri, 06 Apr 2007 17:31:43 +0000 |
| Subject: | Re: migrating documentation to pear.php.net | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-9606@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.
If there are bugs in the peardoc converter in converting tutorials (and
there are) report them, and we can get that fixed up. Most problems
come from my limited understanding of docbook when I wrote the thing 2-3
years ago (can't even remember when that was).
> - 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?
do you mean {@link} kind of links? These should resolve to the correct
<link> tag. If not, that's a bug (unless you're linking to docs for
another package in PEAR)
Greg