DocumentJS is a powerful and easy way to build and extend documentation functionality, being smart enough to guess things like function names and parameters.
It's architecture is organized around the concepts of types and tags.
Types are meant to represent every javascript construct you might want to comment like classes, functions and attributes. Tags add aditional information to the comments of the type being processed.
DocumentJS works by loading a set of JavaScript files, then by spliting each file into type/comments pairs and finally parsing each type's comments tag directives to produce a set of JSONP files (one per type) that are used by the document viewer (jmvcdoc) to render the documentation.
Here are some key features of "DocumentJS":
· Flexible organization of your documentation
· An integrated documentation viewer where you can search your API
· Markdown support
· An extensible architecture
Requirements:
· JavaScript enabled on client side