coffeedoc / codo

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

Support coffee-like extensions other than `.coffee` #130

Closed maxtaco closed 11 years ago

maxtaco commented 11 years ago

The one that I would like is .iced, which looks a lot like CoffeeScript. Nothing different has to happen in the parsing and generation stages. We'd only need small changes in codo.coffee's file-finding regex (which is currently /\._?coffee/) and appropriate command-line options. I have a small patch forthcoming.

netzpirat commented 11 years ago

Great. I'd happily merge a pull request to include iced CoffeeScript files.

zorbash commented 11 years ago

Nice, my only concern is that future support for other coffee-like extensions shouldn't require tweaking the file matching regex. @netzpirat what do you think? What about having an option or a .codopts (similar to yard's .yardopts) configuration file?

maxtaco commented 11 years ago

Agreed. I thought I'd just add a -x parameter (and codoopt option) to make the file walker match whatever you wanted to (in addition to .coffee).

zorbash commented 11 years ago

@maxtaco :+1:

netzpirat commented 11 years ago

Merged by #131