cbou / markdox

Markdox is a documentation generator based on Dox and Markdown. It parse Javascript and even Coffeescript.
http://cbou.github.com/markdox
230 stars 27 forks source link

Sort Comments by Type #48

Open qbradq opened 8 years ago

qbradq commented 8 years ago

I would like to do a PR to sort the comments within a document by type, such that the constructor would be forced to the top of the document, followed by properties, events, and methods. Each group would be sorted alphabetically. This would work well with projects that stick to the one constructor per file rule, but would produce output even less readable than current for module-per-file projects.

Would it be preferable to implement this as a change to the default behavior or as an option in the options object?

cbou commented 8 years ago

To me it's better to make this as option for the moment.