-
Notifications
You must be signed in to change notification settings - Fork 486
Document inherited members as instance members #390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Okay, so this is effectively asking that instead of documenting or inferring the |
I think it’s important to be able to see all available methods and properties for a given type, including |
Is there any way to show inherited methods by passing an option or flag? |
@tmcw Is it possible to implement it the way typedoc does it? http://typedoc.org/api/ |
I also agree this is incredibly useful, this is exactly how JavaDoc has worked for a very long time. See for example: https://docs.spring.io/spring-data/commons/docs/current/api/org/springframework/data/domain/Sort.Direction.html Let's say I have class
Then i can click into any of them and see the appropriate detail |
Hello,
I've a lot of classes, representing all my resources, like
Product.es6.js
The
Product
class extends theBaseResource
class that contains all the commons methods.What I'd like to do is to document all the members of Product and of the others resource classes as if it were instanced, for example, I'd like that documentation.js will output something like that:
product.retrieve
Retrieve a single resource by id or a set of resources
Parameters
id
Number= id of the resource to retrieve (optional, defaultundefined
)Examples
product.aMethod
Retrieve something else
Parameters
a
Number= id of the resource to retrieve (optional, defaultundefined
)anotherResourceThatExtendsBaseResource.retrieve
Retrieve something else
Parameters
id
Number= id of the resource to retrieve (optional, defaultundefined
)Examples
TL;DR
All I want to do is to prefix the method name with the super class name.
And, if it is possible, to override only the description of the method in the super class.
product.retrieve
andanotherResourceThatExtendsBaseResource.retrieve
are the same method, but different classes, so I'd like to override the description of the methodThe text was updated successfully, but these errors were encountered: