1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt-doc.git synced 2025-04-25 03:57:11 -07:00

Update dokka doc.

This commit is contained in:
Cedric Beust 2015-11-16 22:48:33 -08:00
parent 9ec871e570
commit 2ddd3e86cd

View file

@ -322,17 +322,34 @@ $ ./kobaltw uploadJcenter
// ... // ...
dokka { dokka {
args("-output", "markdown") outputFormat = "markdown"
linkMapping { sourceLinks {
dir = "src/main/kotlin" dir = "src/main/kotlin"
url = "https://github.com/cy6erGn0m/vertx3-lang-kotlin/blob/master/src/main/kotlin" url = "https://github.com/cy6erGn0m/vertx3-lang-kotlin/blob/master/src/main/kotlin"
suffix = "#L" urlSuffix = "#L"
} }
} }
</pre> </pre>
<p> <p>
You can then generate your documentation by running the <code>dokka</code> task. You can then generate your documentation by running the <code>dokka</code> task. Here is the full list of configuration parameters allowed:
</p> </p>
<dl class="dl-horizontal">
<dt>samplesDir</dt>
<dd>The list of directories containing sample code (documentation for those directories is not generated but declarations from them can be referenced using the <code>@sample</code> tag).</dd>
<dt>includeDirs</dt>
<dd>The names of directories containing the documentation for the module and individual packages.</dd>
<dt>outputDir</dt>
<dd>The output directory where the documentation is generated.</dd>
<dt>outputFormat</dt>
<dd>The output format: <code>html</code>, <code>markdown</code>, <code>jekyll</code>,
or <code>javadoc</code>.</dd>
<dt>sourceLinks</dt>
<dd>The source link mappings.</dd>
<dt>moduleName</dt>
<dd>The name of the module being documented (used as the root directory of the generated documentation).</dd>
<dt>skip</dt>
<dd>If true, don't generate anything.</dd>
</dl>
</div> </div>