Using Dokka from IntelliJ
Answered
I have all this nifty kdoc in my Kotlin source. Alas, I can't figure out how to turn it into HTML. Everything says to use Dokka, the Dokka install instructions tell me to modify my build.gradle file.
I don't have a build.gradle file. I don't know how to make a build.gradle file and don't really want to learn. Same goes for Maven, no build file nor any desire to learn how to make one.
I can't be the first one to have this issue, yet my google-fu has failed me.
Do how do I turn my kdoc into HTML from IntelliJ?
Please sign in to leave a comment.
Hi! You can run dokka from the terminal – https://kotlinlang.org/docs/dokka-cli.html.
Also, you can try `File | Export | File or Selection to HTML`.
I use IntelliJ for code development, not Gradle nor Maven. That link gives “file not found”. Export to HTML doesn't run Dokka.
Sorry, this is a correct link https://kotlinlang.org/docs/dokka-cli.html