JavaScript Documentation Sucks(harry.me)
harry.me
JavaScript Documentation Sucks
http://harry.me/2012/01/22/javascript-documentation-sucks/
2 comments
You can repurpose Docco as a running commentary for library usage or for examples. This combines the readability of Docco with the awesome usefulness of usage examples.
It also allows you to easily run your example code as part of your test suite. Nothing more frustrating than broken example code.
e.g. http://dev.groupdock.com/kin/
It also allows you to easily run your example code as part of your test suite. Nothing more frustrating than broken example code.
e.g. http://dev.groupdock.com/kin/
I do love Readme Driven Development (http://tom.preston-werner.com/2010/08/23/readme-driven-devel...), and Github helps here with its per-directory readme displays, but keeping up with these over the duration of a project is obviously a problem, as you note.