Leaflet / Leafdoc

A lightweight NaturalDocs-like LeafletJS-style documentation generator
54 stars 19 forks source link

Can I describe mixins? #40

Closed trusktr closed 5 years ago

trusktr commented 5 years ago

I'd like to document mixins. Is this possible with Leafdoc?

EDIT: Ah, looks like I'd need to make a custom documentable, mixin for example.

IvanSanchez commented 5 years ago

I think what you want to do is document your mixin as a Class, then "inherit" your mixin.

IIRC Leafdoc supports multiple inheritance so this shouldn't be a problem.

trusktr commented 5 years ago

Oh, nice!