Documentation Overview
The docs { } block inside kreate { project { } } integrates Dokka into your Gradle module. When enabled, Kreate applies the Dokka Gradle plugin automatically and configures it with your declared settings — no manual plugins { } block or dokka { } wiring needed.
Documentation generation is disabled by default. Enable it with:
How It Works
When enabled is true, Kreate:
Applies the
DokkaPluginto the Gradle projectConfigures
moduleNameon the Dokka extension if setRedirects the
htmlpublication output tooutputDirectoryif setSets the
footerMessageof the Dokka HTML plugin tocopyrightif set
Dokka's dokkaGenerate task produces an HTML site from your KDoc comments. Run it with:
The output lands in build/dokka/html/ by default, or in the path you configure via outputDirectory.