hfhbd
05/28/2023, 12:45 PMtasks.dokkaHtmlMultiModule {
includes.from("README.md")
}
and I used the partial tasks to add (sub) project README.md
files using dokkaSourceSets.configureEach { includes.from(file("README.md"))
. The latter is already possible.Adam S
05/28/2023, 1:41 PMdokkatoo {}
extension, so this should work:
dokkatoo {
dokkatooSourceSets.configureEach {
includes.from("README.md")
}
}
hfhbd
05/28/2023, 1:42 PMhfhbd
05/28/2023, 1:43 PMAdam S
05/28/2023, 1:43 PMAdam S
05/28/2023, 1:44 PMincludes.from(...)
path must be relative to the build.gradle.kts
, so if each subproject has a README.md then each one will be picked uphfhbd
05/28/2023, 1:45 PMhfhbd
05/28/2023, 1:45 PMAdam S
05/28/2023, 1:48 PMdokkatoo {
dokkatooPublications.configureEach {
includes.from("README.md")
}
}
hfhbd
05/28/2023, 1:50 PMAdam S
05/28/2023, 1:51 PMIgnat Beresnev
05/30/2023, 12:29 PMDokka Modules are analogous to ‘Dokka Partials’. They’re specific for a single format (HTML, Markdown, etc)Yeah, in the current Gradle plugin there are some specific scenarios in which you'd want to configure the parent MultiModule task only... For instance, setting
DokkaMultiModuleTask#moduleName
should change the name of the project used in the header. Setting it only for the partial tasks will not be enough now, I think