Re: bug#44244 (Link <classname />s to the class docs)
| From: | Hannes Magnusson | Date: | Mon, 04 Aug 2008 18:52:39 +0000 |
| Subject: | Re: bug#44244 (Link <classname />s to the class docs) | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969379233@lists.php.net to get a copy of this message | ||
On Fri, Jul 25, 2008 at 15:58, Hannes Magnusson
<hannes.magnusson@gmail.com> wrote:
> Hi all
>
> I'd like to fix bug#44244 like we fixed the
> methodless-exception-problem[1], by introducing phpdoc:class element
> which will behave exactly like the phpdoc:exception element.
> This way we can index <phpdoc:class><titleabbrev> (the actual
> classname) and therefore automatically generate links to only classes,
> and the same for <exceptionname> obviously.
>
> I don't have a patch for it at the moment though, but it would be
> exactly like the phpdoc:exception Docbook DTD patch.
<classname> now links to classes/exceptions (defined using the
phpdoc:class/phpdoc:exception elements), see attachments.
Only tested it on those few exceptions and class, but will change all
I can find to use phpdoc:class/phpdoc:exception when I commit.
Comments? Feedback? Screw you?
-Hannes
Attachment: [text/x-diff] phd.patch
Attachment: [text/x-diff] phpdoc.patch
Attachment: [text/x-diff] phd.patch
Attachment: [text/x-diff] phpdoc.patch