Re: [Jsdoc-user] Reference 'static' members with @link and @see tags
Status: Inactive
Brought to you by:
mmathews
From: Gabriel R. <gab...@gm...> - 2005-12-07 19:38:25
|
On Thu, Dec 01, 2005 at 10:38:08PM +1300, Adam Ratcliffe wrote: > I seem to have come up against some limitations in using the @link > and @see tags. > > Firstly I don't seem to be able to link to 'static' methods with > these tags, for example: > > function foo() {} > > /** > * @see #baz > */ > foo.bar = function() { > // do something > }; > > foo.baz = function() { > // do something else > } > > Secondly, I can't link to a class constant variable such as: > > /** > * @final > * @type String > */ > foo.MY_CONST = "my constant value"; > > Is there a way to reference these members with jsdoc? Sorry for taking so long to respond to this. Both of these problems are unfortunate side-effects of a recent fix that was made to linking of static members. It will be fixed in the next release of JSDoc, hopefully within a week from now. Thanks for reporting this. Gabriel |