pycco-docs / pycco

Literate-style documentation generator.

Home Page:https://pycco-docs.github.io/pycco/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Languages that don't define multiline comments are failing

fitzgen opened this issue · comments

fitzgen@mendel :: ~/src/ot/erl-ot/src
$ pycco ot.erl
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7/bin/pycco", line 9, in
load_entry_point('Pycco==0.1.2', 'console_scripts', 'pycco')()
File "/usr/local/Cellar/python/2.7/lib/python2.7/site-packages/Pycco-0.1.2-py2.7.egg/pycco/main.py", line 398, in main
process(sources, outdir=opts.outdir, preserve_paths=opts.paths)
File "/usr/local/Cellar/python/2.7/lib/python2.7/site-packages/Pycco-0.1.2-py2.7.egg/pycco/main.py", line 383, in process
next_file()
File "/usr/local/Cellar/python/2.7/lib/python2.7/site-packages/Pycco-0.1.2-py2.7.egg/pycco/main.py", line 377, in next_file
f.write(generate_documentation(s, outdir=outdir))
File "/usr/local/Cellar/python/2.7/lib/python2.7/site-packages/Pycco-0.1.2-py2.7.egg/pycco/main.py", line 37, in generate_documentation
sections = parse(source, fh.read())
File "/usr/local/Cellar/python/2.7/lib/python2.7/site-packages/Pycco-0.1.2-py2.7.egg/pycco/main.py", line 77, in parse
multi_line_delimeters = [language["multistart"], language["multiend"]]
KeyError: 'multistart'

I'll get to this soon...

this is caused by the code that requires l["symbol"] ... i tried hacking this out when adding html support but, it crasheddddd =/

Actually, what you are referring to is different than what I made this ticket for. I actually fixed this ticket a while ago. Here is a new ticket: https://github.com/fitzgen/pycco/issues/issue/21

Sweet! upvoted. Also, shouldn't you be asleep ;)