API documentation generator for Dart, behind dart doc
open sourceBSD-3-Clausefree
dartdoc is the Dart project's API documentation generator: it turns a Dart package's doc comments into static HTML, and the Dart SDK runs it as the dart doc command. It documents every public library of a package into doc/api, with search and navigation, and reads a dartdoc_options.yaml file for categories, reusable macros, external tools that filter parts of the docs, injected HTML and links to the source.
Problems it solves
- generate HTML API documentation from my Dart package's doc comments
- build browsable docs for a Flutter package before publishing it
- reuse the same documentation snippet across many Dart classes
Features
- dart doc in the Dart SDK
- static HTML API docs with search and navigation
- categories and sub-categories from doc comment tags
- reusable doc macros with templates
- external tools that filter parts of the docs
- links from docs to the source code
Limitations
Alternatives
The same job
These do what dartdoc does.
- JSDoc API documentation generator for JavaScript from comments in the code
- Doxygen Code documentation. Automated. Free, open source, cross-platform.
- Dokka API documentation engine for Kotlin
- DocFX Static site generator for .NET API documentation
- phpDocumentor API documentation generator for PHP
