3 ms·
I'd love to know if there's a lib for generating annotations like this from source comments. I've always loved docs tha include the code for reference, helps to
by lux 16y ago
I'd love to know if there's a lib for generating annotations like this from source comments. I've always loved docs tha include the code for reference, helps to see what's actually going on :)
- sant0sk1 16y agohttp://github.com/jashkenas/docco http://github.com/jashkenas/docco http://github.com/rtomayko/rocco http://github.com/rtomayko/rocco http://github.com/rtomayko/shocco http://github.com/rtomayko/shocco
- jashkenas 16y agoDocco is CoffeeScript/JavaScript, Rocco is Ruby, Shocco is Shell, and there's one more (that I know of) ... Pycco for Python: http://github.com/fitzgen/pycco http://github.com/fitzgen/pycco And a first cousin, once removed: Dox (JavaScript): http://visionmedia.github.com/dox/ http://visionmedia.github.com/dox/
- jacobolus 16y agoDox seems to just be explicitly marked documentation, not every comment. Pycco claims to support Python, Ruby, JavaScript, CoffeeScript, Scheme, and Lua.
- shawndumas 16y agoI just submitted one earlier this morning[1]. ----- [1]: http://news.ycombinator.com/item?id=1767758 http://news.ycombinator.com/item?id=1767758