Docco vs DocumentJS
When comparing Docco vs DocumentJS, the Slant community recommends Docco for most people. In the question“What are the best JavaScript documentation tools?” Docco is ranked 2nd while DocumentJS is ranked 5th. The most important reason people chose Docco is:
Since Docco doesn't enforce any comment style or rules, it's great for beginners who can instantly pick up without having to learn any new syntax or style.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Great for beginners
Since Docco doesn't enforce any comment style or rules, it's great for beginners who can instantly pick up without having to learn any new syntax or style.
Pro Markdown support
All the comments are run through a markdown parser, while all the code is run through Highlight.js for code highlighting.
Pro Document JS and CSS
Also great for style guides.
Cons
Con Does not enforce a pattern in writing comments
Since Docco only accepts comment lines starting with double slashes, it does not really enforce any pattern in writing comments, at least not as much as it would if it would use comment blocks. This can bring a huge disparity and even make it harder for Docco to generate good documentation as the project grows larger.