When comparing Docco vs Spinx-js, the Slant community recommends Docco for most people. In the question“What are the best documentation generators for Node.js apps?” Docco is ranked 2nd while Spinx-js 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 Friendly interface
Quick involvement in documentation
Pro Automatic testing of code snippets
Also, inclusion of docstrings from Python modules (API docs)
Pro You can write documentation that describes things. Tutorial like. Unlike JSDocs which is only for APIs
Pro A tool that is used in many projects
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.
Con Not quite as simple as JSDoc
Con Some plug ins have poor quality
Sphinx is an open source project, while the main project is actively maintained, some plug-ins developed by volunteers are not maintained.
