Sergio
03/13/2024, 4:14 PMshared
Oleg Yukhnevich
03/13/2024, 4:34 PMproject name
? title on top of the website?
AFAIR there is moduleName
property available on tasks - https://kotlinlang.org/docs/dokka-gradle.html#general-configurationSergio
03/13/2024, 4:40 PMmoduleName
doesn’t change it 😞Oleg Yukhnevich
03/13/2024, 4:49 PMSergio
03/13/2024, 4:52 PMval dokkaOutputDir = "../docs/$version"
tasks.dokkaHtml {
val currentVersion = version
outputDirectory.set(file(dokkaOutputDir))
dokkaSourceSets {
configureEach {
suppress.set(false)
documentedVisibilities.set(setOf(Visibility.PUBLIC))
skipEmptyPackages.set(true)
includeNonPublic = false
reportUndocumented = true
skipEmptyPackages = true
}
}
pluginConfiguration<VersioningPlugin, VersioningConfiguration> {
version = currentVersion
olderVersionsDir = file("../docs")
renderVersionsNavigationOnAllPages = true
}
}
Sergio
03/13/2024, 5:10 PMmoduleName
works, it was a problem with how I was handling multi-module projectOleg Yukhnevich
03/13/2024, 5:11 PMtasks.dokkaHtmlMultiModule {
moduleName.set("Custom name")
}
in root project