Description
Dokka is an API documentation engine for Kotlin. It understands both Kotlin's KDoc comments and Java's Javadoc comments, so it works in mixed-language projects. It can generate documentation in several formats: its own modern HTML format, Java's Javadoc HTML, and the GFM and Jekyll flavours of Markdown. You run Dokka from Gradle, from Maven or from the command line, and it is designed to be highly pluggable. The introduction lists libraries that use Dokka for their API reference, including kotlinx.coroutines, Ktor and OkHttp. A Get started guide covers first steps. For help, Dokka has a dedicated #dokka channel in the Kotlin Community Slack, where you can discuss Dokka and its plugins and reach the maintainers. The Dokka source is public on GitHub under Kotlin, and the GFM and Jekyll plugin READMEs are linked from the documentation.…
Highlights
- Documents Kotlin and Java APIs, including mixed projects
- HTML, Javadoc, GFM and Jekyll output
- Runs from Gradle, Maven or the command line
- Pluggable architecture
- Slack channel for help from maintainers
Ratings & Reviews
No ratings yet
Be the first to rate Dokka.
People also visit

dart-write-documentation
Rules and formatting guidelines for writing Dart /// API documentation
Dokka FAQ
What is Dokka?
An API documentation engine for Kotlin that also understands Java's Javadoc comments.
What output formats does it support?
Its own HTML format, Java's Javadoc HTML, and the GFM and Jekyll flavours of Markdown.
How do I run it?
From Gradle, from Maven, or from the command line.
Where can I get help?
In the #dokka channel of the Kotlin Community Slack, where you can reach the maintainers.
Is it open source?
Yes. The source is public on GitHub under the Kotlin organisation.
What are the best Dokka alternatives?
Popular alternatives to Dokka include DocFX, Jsdoc and NaturalDocs. See all Dokka alternatives




