7

I have seen here, here and there references to KDoc, the JavaDoc utility equivalent for Kotlin.

However, I cannot find any documentation on how to use it, let alone how to customize it or integrate it in Maven or Gradle.

I know the Kotlin API doc is generated using KDoc since the page source has the following HTML comment: <!-- Generated by kdoc on Sun Jul 06 20:27:33 UTC 2014 -->

So, is there any documentation I can refer to as to how to use KDoc ?

Jayson Minard
  • 84,842
  • 38
  • 184
  • 227
Salomon BRYS
  • 9,247
  • 5
  • 29
  • 44

1 Answers1

3

It looks like Kdoc was put on the back burner in favour of Dokka. https://github.com/Kotlin/dokka

Source: https://devnet.jetbrains.com/thread/458339;jsessionid=B2038D70DCC9004181B20D6D4EA2B2A3

gvlasov
  • 18,638
  • 21
  • 74
  • 110
sksamuel
  • 16,154
  • 8
  • 60
  • 108
  • 17
    This answer is inaccurate. KDoc still exists; it was just changed. Dokka is just the tool that generates the HTML documentation from the KDoc. https://kotlinlang.org/docs/reference/kotlin-doc.html – Jacob Zimmerman Feb 04 '16 at 21:51