t() function documentation not displaying properly

Rok Žlender - February 2, 2007 - 14:01
Project:Drupal
Version:5.1
Component:base system
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

I noticed that @variable is not displayed in t documentation on http://api.drupal.org/api/5/function/t
It looks like doxygen is not parsing it correctly. Every parameter for doxygen like @code and @param starts with @ the same as @variable and thats probably why it is not displayed.

#1

Rok Žlender - June 2, 2007 - 21:57
Project:Documentation» Drupal
Version:» 5.1
Component:Documentation in CVS» base system

After some research I realized that all there is to it is to escape @ sign. Unfortunately I have no idea how to test it if this really fixes the prblem.

AttachmentSize
common.inc_.t.patch1.57 KB

#2

Gábor Hojtsy - June 3, 2007 - 10:26
Status:active» patch (code needs work)

Hm, I looked into http://cvs.drupal.org/viewcvs/drupal/contributions/modules/api/parser.in... and I don't think this will solve the problem (neither did I found where this @variable is swallowed by the code).

#3

Rok Žlender - June 3, 2007 - 11:26

I tried running api module on my computer and it does not filter out @variable. Is there some documentation how drupal api is generated.

#4

ainigma32 - July 9, 2008 - 14:03
Status:patch (code needs work)» fixed

I also don't see any problems with the @variable

More information on the api module can be found here http://drupal.org/node/26669

#5

Anonymous (not verified) - July 31, 2008 - 04:46
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.