coffeedoc / codo

CoffeeScript API documentation generator. It's like YARD but for CoffeeScript!
Other
624 stars 92 forks source link

Properties for mixin #205

Closed akfish closed 8 years ago

akfish commented 9 years ago

Codo doesn't support properties in mixins, so there is no way to document code like this:

###
The mixin
@mixin
###
TheMixin = 
  # @property [string] whatever property <- not documented
  prop: 'whatever'

###
The class
@include TheMixin
###
class TheClass

It would be great if @property can be used in mixins.

inossidabile commented 8 years ago

I like that but the implementation can take time that I don't have atm. PRs are welcome.