Linking methods to API docs autmatically
| From: | Christian Weiske | Date: | Tue, 10 Apr 2007 12:10:47 +0000 |
| Subject: | Linking methods to API docs autmatically | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-9617@lists.php.net to get a copy of this message | ||
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.
--
Regards/Mit freundlichen Grüßen
Christian Weiske
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc