Kotlin KDoc:文档? [英] Kotlin KDoc: Documentation?

查看:147
本文介绍了Kotlin KDoc:文档?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经看到此处对KDoc的引用,KDoc是Kotlin的等效JavaDoc实用程序.

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

但是,我找不到有关如何使用它的任何文档,更不用说如何对其进行自定义或将其集成到Maven或Gradle中了.

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

我知道 Kotlin API文档是从页面开始使用KDoc生成的来源具有以下HTML注释:<!-- Generated by kdoc on Sun Jul 06 20:27:33 UTC 2014 -->

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

那么,关于如何使用KDoc,我可以参考任何文档吗?

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

推荐答案

Kdoc似乎被搁置起来以支持Dokka. https://github.com/Kotlin/dokka

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

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

这篇关于Kotlin KDoc:文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆