Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use Dokka to generate Docs like Kotlinlang.org

AFAIK Kotlin's Documentation was made using Dokka. But the Examples stated in Dokka's Readme is only generating ultra basic webpages/markdown files with no elegance whatsoever.

It just looks like this

enter image description here

Here's another one by Atrium, docs link.

enter image description here

I'm wondering if I'm doing anything wrong.

I've also looked at the issues page and been browsing through other open source github projects that has used Dokka and the result is always the same.

Now a good example of how a tool that generates beautiful documentation would be Jazzy by Realm for Swift/Obj-C. Using it can be as easy as running one command on the terminal.

Here's an example documentation created using Jazzy

enter image description here

Further research with suggests that I may have to use third party tools like Gitbook or Jekyll to generate the kind of documentation I'm looking, is that really the only way?

like image 606
Zonily Jame Avatar asked Dec 14 '25 14:12

Zonily Jame


1 Answers

Kotlinlang uses some custom styles for one of the dokka's output formats. Development on some better looking docs is underway

like image 113
Kamil Doległo Avatar answered Dec 19 '25 06:12

Kamil Doległo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!