Add features mnemonic to root project readme
This commit is contained in:
parent
e54da4c7cd
commit
7d666cb6c7
@ -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}")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user