mirror of
https://github.com/ethauvin/kobalt-doc.git
synced 2025-04-27 20:48:13 -07:00
Dokka documentation.
This commit is contained in:
parent
0ed7c19be0
commit
9ec871e570
1 changed files with 22 additions and 0 deletions
|
@ -312,6 +312,28 @@ $ ./kobaltw uploadJcenter
|
||||||
All artifacts successfully uploaded
|
All artifacts successfully uploaded
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
<h2 class="section" id="dokka">Dokka</h2>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<a href="https://github.com/Kotlin/dokka">Dokka</a> is Kotlin's documentation tool. The Kobalt Dokka plug-in allows you to launch it and configure it as follows:
|
||||||
|
</p>
|
||||||
|
<pre>
|
||||||
|
import com.beust.kobalt.plugin.dokka.dokka
|
||||||
|
// ...
|
||||||
|
|
||||||
|
dokka {
|
||||||
|
args("-output", "markdown")
|
||||||
|
linkMapping {
|
||||||
|
dir = "src/main/kotlin"
|
||||||
|
url = "https://github.com/cy6erGn0m/vertx3-lang-kotlin/blob/master/src/main/kotlin"
|
||||||
|
suffix = "#L"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</pre>
|
||||||
|
<p>
|
||||||
|
You can then generate your documentation by running the <code>dokka</code> task.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue