-->

Kotlin KDoc: Documentation?

2020-03-17 04:28发布

问题:

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 ?

回答1:

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