Closed wkeese closed 12 years ago
Or... did you make it the description intentionally so that the viewer could differentiate between the real summary and the list of properties?
I decide to enhance the doc viewer to handle description tags on properties and parameters, so closing this ticket.
Note that the description field on properties and parameters is different than the description field on methods and classes in the sense that the former supplements the summary, rather than superceding it. In other words, for scalar properties, both the summary and the description needs to get displayed.
Although dojodoc format allows methods and classes to have both summaries and descriptions, scalar parameters and properties just have summaries, listed like
(where the above example could be either a foo parameter to a function, or a foo property of a class)
However ,when kwArgs gets inlined (ex: charting/action2d/PlotAction's constructor, third parameter), the parameter or property ends up with both a summary and description:
The api-viewer is just displaying the summary, losing all that essential info from the descriptoin. I could change it to print both summary and description, but perhaps instead the exporter should shove all the information into the summary?
cc @cjolif
See also wkeese/api-viewer#16.