andries.fc
03/30/2026, 6:01 PMCLOVIS
03/31/2026, 8:10 AMdokka {
dokkaSourceSets.configureEach {
include("README.md")
}
}CLOVIS
03/31/2026, 8:10 AMdokka {
dokkaSourceSets.configureEach {
if (name.endsWith("Main") || name == "main") {
val setName = name.removeSuffix("Main")
val headerName =
if (setName == "common" || name == "main") "README.md"
else "README.$setName.md"
val headerPath = "${project.projectDir}/$headerName"
if (File(headerPath).exists())
includes.from(headerPath)
else
logger.info("No specific documentation file found for $setName, expected to find $headerPath")
}
}andries.fc
03/31/2026, 8:10 AM