Using Dokka from IntelliJ

已回答

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?

0

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`.

0

I use IntelliJ for code development, not Gradle nor Maven.  That link gives “file not found”.  Export to HTML doesn't run Dokka.

0

请先登录再写评论。