4 ms·
SelfDoc.js: JavaScript that Documents Itself
- adamc 15y agoLooking at the example... how is this better than just going and reading the source?
- rudenoise 15y agoI should probably point out that selfDoc returns an object that can be moved about as JSON, but combined with a templating engine you can produce HTML docs that always stay in sync with the code. https://github.com/rudenoise/selfDoc.js/tree/master/demo https://github.com/rudenoise/selfDoc.js/tree/master/demo
- adavies42 15y agoyo dawg....
- mullr 15y agodocco, which the article links to, is particularly great. It makes me want to write more comments. http://jashkenas.github.com/docco/ http://jashkenas.github.com/docco/ I wonder if you could make an editor that that looks like docco when you're writing the code?