For example, given the following code, the "name" method should appear in the docs twice.
In addition it is possible to use the `@also` tag to document this sort of thing.
> Is there any justification for there to be an array of doclets for a given name?
> In augments.js, I followed the structure I saw being created here:
> https://github.com/jsdoc3/jsdoc/blob/master/jsdoc.js#L155-160
> I'll try to get that fixed up in the next couple hours. Might be that
> when I get my head back into it I see the reason for the array.
> https://github.com/jsdoc3/jsdoc/issues/158
> Tim
> On Fri, Aug 10, 2012 at 2:13 AM, Michael Mathews <micm...@gmail.com> wrote:
>> Hello Michał,
>> I believe this is a bug, or at least I would consider it one: extended
>> members with the same name should be overridden in the docs, not duplicated,
>> in my opinion.
>> Here's a greatly simplified example case:
>> ````javascript
>> /** @class */
>> A = function() {};
>> /** document me */
>> A.prototype.f = function() {
>> }
>> /** @class
>> @extends A
>> */
>> B = function() {};
>> /** document me */
>> B.prototype.f = function() {
>> }
>> ````
>> I suspect this issue arises from the action of the [augments.js
>> file](https://github.com/jsdoc3/jsdoc/blob/master/rhino_modules/jsdoc/augme...).
>> @tschaub can you offer any further advice?
>> Michael Mathews
>> micm...@gmail.com
>> On 9 Aug 2012, at 15:17, Michał Przybysz <michal.kamil.przyb...@gmail.com>
>> wrote:
>> Hi,
>> I have something like this:
>> /**
>> * Description
>> * * @constructor
>> **/
>> alib.b.A = function() {};
>> /**
>> * Description
>> * @class
>> * @extends alib.b.B
>> **/
>> alib.b.B = alib.extend(alib.b.A,
>> /** @lends alib.b.B.prototype */
>> {
>> fade: function (config) {
>> //do something
>> },
>> //blabla
>> });
>> /**
>> * Description
>> * @class
>> * @extends alib.b.B
>> **/
>> alib.b.C = alib.extend(alib.b.B,
>> /** @lends alib.b.C.prototype */
>> {
>> fade: function (config) {
>> //do something
>> },
>> //blabla
>> });
>> It is proper way to document this code?? In output documentation method fade
>> occurs twice.
>> --
>> You received this message because you are subscribed to the Google Groups
>> "JSDoc Users" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/jsdoc-users/-/ooZsGM5Cw1cJ.
>> To post to this group, send email to jsdoc-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> jsdoc-users+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/jsdoc-users?hl=en.
>> --
>> You received this message because you are subscribed to the Google Groups
>> "JSDoc Users" group.
>> To post to this group, send email to jsdoc-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> jsdoc-users+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/jsdoc-users?hl=en.
> --
> You received this message because you are subscribed to the Google Groups "JSDoc Users" group.
> To post to this group, send email to jsdoc-users@googlegroups.com.
> To unsubscribe from this group, send email to jsdoc-users+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/jsdoc-users?hl=en.