Sam Gammon
11/12/2022, 2:11 AMinclude
via dokkaSourceSets
, but i can't quite get it to work. code:
tasks.withType<org.jetbrains.dokka.gradle.DokkaTaskPartial>().configureEach {
dokkaSourceSets {
configureEach {
includes.from("module.md")
}
}
}
Ignat Beresnev
11/12/2022, 4:58 AMIgnat Beresnev
11/12/2022, 5:00 AMSam Gammon
11/12/2022, 9:46 AMSam Gammon
11/12/2022, 9:46 AMSam Gammon
11/12/2022, 9:46 AM# Module `base`
Module docs here
Sam Gammon
11/12/2022, 9:46 AMIgnat Beresnev
11/12/2022, 12:03 PMSam Gammon
11/12/2022, 11:12 PMSam Gammon
11/12/2022, 11:12 PMSam Gammon
11/12/2022, 11:12 PMmodule.md
Sam Gammon
11/12/2022, 11:12 PMserver
and Packages
, right? if i try to navigate to module.html
it gives me a 404Ignat Beresnev
11/14/2022, 4:51 PMmodule.md
is not rendered like a separate page. Instead, it's parsed and the descriptions from it are rendered alongside module and package namesIgnat Beresnev
11/14/2022, 4:55 PM# Module Dokka Gradle Example
This is an example of how you can write module documentation with Dokka.
# Package demo
This package contains a few examples of Dokka usage.
Sam Gammon
11/15/2022, 9:27 AMSam Gammon
11/15/2022, 9:27 AMSam Gammon
11/15/2022, 9:27 AM