3 ms·
What language are your source files in? Python, Ruby, Scheme, Lua, and CoffeeScript should all be supported (but it doesn't play nice with /* */ style JS, just
by mnemonik 16y ago
What language are your source files in?
Python, Ruby, Scheme, Lua, and CoffeeScript should all be supported (but it doesn't play nice with /* */ style JS, just //).
All code comments that are on their own line should become documentation on the left, for example:
# This should become docs
def this_is_the(code):
...
Take a look at the raw file on github, and compare it to the generated file: http://github.com/fitzgen/pocco/blob/master/pocco http://github.com/fitzgen/pocco/blob/master/pocco