Re:Annotated code: Circles bouncing off lines
by danso on Sunday February 08, 2015 @08:30PM
(#9019330)
I believe the OP is using Docco.js (which has been ported to many languages, e.g. Rocco for Ruby, Shocco for Shell, Pycco for Python, Gocco for Go, etc.)
http://jashkenas.github.io/docco/
There's different ways to configure the output and layout...the Docco homepage uses a single-column format, whereas the OP uses the double-column format.
Re:Annotated code: Circles bouncing off lines
by falcor84 on Sunday February 08, 2015 @09:12PM
(#9019447)
The manual function signatures are a bit annoying. In particular, why don't the author's comments include the parameters?
I wonder if docco has an extension to create these automatically.
I much prefer the docstrings, and the new type annotations in python, which make this much nicer.
Re:Annotated code: Circles bouncing off lines
by mxtopher on Sunday February 08, 2015 @08:28PM
(#9019327)
Indeed. It's using docco, most likely: http://jashkenas.github.io/docco/
Is the code annotation page a library?