Add features mnemonic to root project readme

This commit is contained in:
Alexander Nozik 2021-02-22 20:11:42 +03:00
parent e54da4c7cd
commit 7d666cb6c7

View File

@ -79,7 +79,7 @@ class KScienceReadmeExtension(val project: Project) {
*/ */
fun featuresString(itemPrefix: String = " - ", pathPrefix: String = "") = buildString { fun featuresString(itemPrefix: String = " - ", pathPrefix: String = "") = buildString {
features.forEach { features.forEach {
appendln("$itemPrefix[${it.name}]($pathPrefix${it.ref ?: "#"}) : ${it.description}") appendLine("$itemPrefix[${it.name}]($pathPrefix${it.ref ?: "#"}) : ${it.description}")
} }
} }