Comparison of documentation generators
The following tables compare general and technical information for a number of documentation generators. Please see the individual products' articles for further information. Unless otherwise specified in footnotes, comparisons are based on the stable versions without any add-ons, extensions or external programs. Note that many of the generators listed are no longer maintained.
General information
Basic general information about the generators, including: creator or company, license, and price.
Name | Creator | Input format | Languages | OS support | First public release date | Latest stable version | Software license |
---|---|---|---|---|---|---|---|
COBOLDoc | Bruno Pacheco Lopes da Silva | Text | COBOL | Any | 2020/08/01 | 1.0.11 | GPL |
Ddoc | Walter Bright | Text | D | Windows, OS X, Linux and BSD | 2005/09/19 | DMD 2.078.3 | Boost |
Document! X | Innovasys | Text, Binary | C++/CLI only, Java, C#, VB, VBScript, IDL, PL/SQL | Windows only | 1998 | 2014.1 | Proprietary |
Doxygen | Dimitri van Heesch | Text | C/C++, Java, C#, D, IDL, Fortran, PHP, Python, Tcl | Any | 1997/10/26 | 1.8.14 | GPL |
Epydoc | Edward Loper | Text | Python | Any | 2002/01/— | 3.0 (2008) | MIT |
fpdoc (Free Pascal Documentation Generator) | Sebastian Guenther | Text | Pascal | 2005? | 2.6.4 | GPL | |
Haddock | Simon Marlow | Text | Haskell | Any | 2002 | 2.15.0 (2014) | BSD |
HeaderDoc | Apple Inc. | Text | C, C++, Java, Delphi, Pascal, IDL, PHP, Perl, Python, Ruby, JavaScript, Tcl, AppleScript, MIG, Bash, Csh | Any Unix-like | 2000/09/— | 8.9.28 (2013) | APSL |
Imagix 4D | Imagix Corp. | Text | C, C++, Java | Windows, Linux, Unix | 1995 | 7.3 | Proprietary |
Javadoc | Sun Microsystems | Text | Java | Any | 1995 | 1.6 | GPL |
ScalaDoc | LAMP, EPFL | Text | Scala | Any | 2011 | 1.0 | Scala License |
JSDoc | Michael Mathews | Text | JavaScript | Any | 2001/07/— | 1.10.2 | GPL |
JsDoc Toolkit | Michael Mathews | Text | JavaScript | Any | 2007? | 2.0.0 | MIT |
mkd | Jean-Paul Louyot | Text | Any with comments | Any () | 1989 | 2015 | EUPL GPL |
Natural Docs | Greg Valure | Text | Any with comments | Any | 2003/05/26 | 2.0.2 | GPL |
NDoc | Jason Diamond, Jean-Claude Manoli, Kral Ferch | Binary | C# | Windows only | 2003/07/27 | 1.3.1 | GPL |
Pandoc | John MacFarlane | ? | ? | Any | 2006 | 1.14.0.3 (2015) | GPL |
pdoc3 | kernc | Text | Python | Any | 2013 | 0.5.1 | Affero GPL |
perldoc | Larry Wall | Perl | Text | Any | 1994 | 5.16.3 | Artistic, GPL |
phpDocumentor | Joshua Eichorn | Text | PHP | Any | 2000 | 1.4.4 | LGPL |
pydoc | Ka-Ping Yee[1][2] | Text | Python | Any | 2000 | in Python core | Python |
RDoc | Dave Thomas | Text | C, C++, Ruby | Any | 2001/12/14 | in Ruby core | Ruby |
ROBODoc | Frans Slothouber | Text | Any with comments | Any | 1995/01/19 | 4.99.36 (2015) | GPL |
Sandcastle | Microsoft | Text | .NET | Windows only | 2008/05/— | 2014.5.31.0 | Ms-PL |
Sphinx | Georg Brandl | Text | C, C++, Ada, Fortran, PHP, Python, Ruby, JavaScript | Any | 2008/03/21 | 1.6.3 | BSD |
Visual Expert | Novalys | Text, Binary | C#, PL/SQL, Transact-SQL, PowerBuilder | Windows only | 1995 | 2017 | Proprietary |
VSdocman | Helixoft | Text | C#, VB, VBScript | Windows only | 2003 Oct 2 | 9.0 | Proprietary |
YARD | Loren Segal | Text | Ruby | Any | 2007/02/24 | 0.7.3 | MIT |
Name | Creator | Input format | Languages | OS support | First public release date | Latest stable version | Software license |
Supported formats
The output formats the generators can write.
HTML | CHM | RTF | LaTeX | PostScript | man pages | DocBook | XML | ePub | ||
---|---|---|---|---|---|---|---|---|---|---|
COBOLDoc | Yes | No | No | No | No | No | No | No | No | |
Ddoc | Yes | Yes[lower-alpha 1] | No | Yes[lower-alpha 1] | Yes[lower-alpha 1] | Yes[lower-alpha 1] | Yes[lower-alpha 1] | No | Yes[lower-alpha 1] | |
Document! X | Yes | Yes | No | No | No | No | No | No | No | |
Doxygen | Yes | Yes | Yes | Indirectly[lower-alpha 2] | Yes | Indirectly[lower-alpha 2] | Yes | Yes | Yes | No |
Epydoc | Yes | No | No | Yes | Indirectly[lower-alpha 3] | Indirectly[lower-alpha 3] | No | No | No | |
Haddock | Yes | Yes | No | No | No | No | No | Partial | No | |
HeaderDoc | Yes | No | No | No | No | No | Yes | No | Yes | |
Imagix 4D | Yes | No | Yes | No | No | No | No | No | No | |
Javadoc | Yes | Indirectly[lower-alpha 4] | Indirectly[lower-alpha 4] | Indirectly[lower-alpha 4] | Indirectly[lower-alpha 4] | Indirectly[lower-alpha 4] | Indirectly[lower-alpha 4] | Indirectly[lower-alpha 4] | Indirectly[lower-alpha 4] | |
JSDoc | Yes | No | No | No | No | No | No | No | No | |
JsDoc Toolkit | Yes | No | No | No | No | No | No | No | Yes+JSON | |
Natural Docs | Yes | No | No | No | No | No | No | No | No | |
NDoc | Yes | Yes | No | No | No | No | No | No | No | |
pdoc3 | Yes | No | No | Indirectly[lower-alpha 5] | No | No | No | No | No | No |
phpDocumentor | Yes | Yes | No | Yes | No | No | No | Yes | Yes | |
pydoc | Yes | No | No | No | No | No | No | No | No | No |
RDoc | Yes | Yes[lower-alpha 6] | No | No | No | No | Indirectly[lower-alpha 7] | No | Yes[lower-alpha 6] | |
ROBODoc | Yes | Indirectly | Yes | Indirectly[lower-alpha 3] | Yes | Indirectly[lower-alpha 3] | Yes | Yes | No | |
Sandcastle | Yes | Yes | No | No | No | No | No | No | No | |
Sphinx | Yes | Yes | Indirectly[lower-alpha 8] | Yes | Yes | Yes | ||||
Visual Expert | Yes | No | No | No | No | No | No | No | No | |
VSdocman | Yes | Yes | No | Yes | No | No | No | No | Yes | |
YARD | Yes | No | No | No | No | No | No | No | No | |
HTML | CHM | RTF | LaTeX | PostScript | man pages | DocBook | XML | ePub |
Other features
possibility of extended customization | generated diagrams | highlighting and linking of generated doc | parameter types extracted | |
---|---|---|---|---|
COBOLDoc | Yes | |||
Ddoc | with macros | |||
Document! X | customizable HTML based templates, custom comment tags | linked graphical object relationship diagrams | internal links and links to .NET framework documentation | types extracted and linked |
Doxygen | with XSLT | caller and callee graphs, dependency graphs, inheritance diagrams, collaboration diagrams | ||
Epydoc | ||||
Haddock | Yes | Yes | ||
HeaderDoc | Custom headers, footers, code coloring, and other CSS styles in individual pages. Project-wide TOC is generated from a user-defined template. | Configurable syntax highlighting/coloring with automatic linking to symbols in declaration, ability to manually link to symbols in discussion, etc. | Provides warnings if tagged parameters do not match code, parsed parameters included in XML output and Doxygen-style tagfile (-D flag in 8.7). Partial C preprocessor support with -p flag. Support for #if/#ifdef control over documentation inclusion using the -D and -U command-line flags. | |
Imagix 4D | customizable through style sheets and CSS | linked hierarchy and dependency graphs for function calls, variable sets and reads, class inheritance and interface, and file includes and interface, intra-function flow charts | fully cross-linked project-wide, including all hierarchy and dependency graphs, metrics tables, source code snippets, and source files | full semantic analysis of source code, including parameter types, conditional compilation directives, macro expansions |
Javadoc | ||||
JSDoc | Yes | |||
JsDoc Toolkit | Yes | |||
mkd | Customisable for all type of comments | 'as-is' in comments | all general documentation; references, manual, organigrams, ... Including the binary codes included in the comments. | all coded comments |
Natural Docs | ||||
NDoc | ||||
perldoc | Extend the generator classes through Perl programming. | Only linking | ||
pdoc3 | overridable mako templates | source code syntax highlighting, automatic cross-linking to symbol declarations | Yes | |
phpDocumentor | Smarty-based templates | class inheritance diagrams | cross reference to generated documentation, and to php.net function reference | Yes |
pydoc | ||||
RDoc | ||||
ROBODoc | ||||
Sphinx | 10 themes; Jinja2 templating; Python plugins | several in sphinx-contrib, e.g. using aafigure, actdiag, Google Chart, or gnuplot | Table of Contents, Index; cross referencing; syntax highlighting with Pygments | custom objects (such as functions and classes) |
Visual Expert | documentation content and styles customizable | Class inheritance, call trees, dependencies (impact analysis) | internal links between classes, methods, variables, tables, columns... | all types extracted |
VSdocman | full customization for all output formats, templates for MSDN-like output, custom XML comment tags | linked graphical class diagrams, class inheritance tree | internal links and links to .NET framework documentation | types extracted and linked |
YARD | customizable Ruby templates | class diagrams with extra tool | internal classes/modules cross-referenced and Ruby source highlighted |
Possible omissions
gollark: ...
gollark: Fiiiine...
gollark: I mean, they can minify stuff, but compacting the logic into pure pointlessness is harder.
gollark: Okay, they probably can, but not what hydraz is using.
gollark: Machines just can't beat humans at making compact, unreadable code.
See also
- Code readability
- Documentation generator
- Literate programming
- Self-documenting code
Notes
- Ddoc has a macro system which can be customized to output any desired format. CHM, groff (manpages), XHTML, XML, and LaTeX (so PostScript and PDF) were tested. They are not currently included in the standard distribution. Standard HTML output also is generated using macros and can be redefined.
- Generated from the LaTeX output only.[3]
- Though not officially supported as an output format, Epydoc uses LaTeX and PostScript as intermediate steps to produce the final PDF documentation.
- Via Doclets from Third Parties.
- Generated from Markdown or HTML output only.
- RDoc currently only provides generators for CHM and XML documents in the RDoc version provided as part of the Ruby 1.9 Core.
- RDoc generates documentation for RI, which is Ruby's version of the Unix man pages.
- Generated from the LaTeX output only
References
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.