Re: Linking methods to API docs autmatically

From: Date: Tue, 10 Apr 2007 14:48:49 +0000
Subject: Re: Linking methods to API docs autmatically
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-9620@lists.php.net to get a copy of this message
Christian Weiske wrote: > Hello, > > > Some (or many) users look in the manual for information about how the > classes work. They don't understand what the api docs are for, or don't > even know of their existence. > > I think there should be a way to automatically link the methods enclosed > in <function> tags in the manual to the api docs. The thing that makes > problems here is that nobody knows which class is meant with this > function. In PHP-Gtk manual, we just add a class="" attribute to > function tags. > > After doing this (do we need to extend the dtd?), the dsssl stylesheets > need to be modified to > a) detect function tags in package docs > b) detect the package name > c) link the function names to the api docs > > I am not sure if we may change the stylesheets at all or if the pear > manual just uses the official docbook-stylesheets package (I assume > that). Further problem: I don't know of anyone capable editing dsssl > stylesheets, I also am only familiar with xslt. > > Another request would be to link from manual to the package page. The PHP doc team is using xsl to generate the manual now, and it is *much* faster. After the election dust settles, I think it might be a good time to ask for their assistance in removing the fossils from peardoc. Greg

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