KT-22815: Use 'Params' instead of 'Parameters' to save h-space
This commit is contained in:
@@ -60,7 +60,7 @@ object KDocRenderer {
|
|||||||
fun StringBuilder.appendKDocSection(section: KDocSection) {
|
fun StringBuilder.appendKDocSection(section: KDocSection) {
|
||||||
renderTag(section.findTagByName("receiver"), "Receiver", this)
|
renderTag(section.findTagByName("receiver"), "Receiver", this)
|
||||||
val paramTags = section.findTagsByName("param").filter { it.getSubjectName() != null }
|
val paramTags = section.findTagsByName("param").filter { it.getSubjectName() != null }
|
||||||
renderTagList(paramTags, "Parameters", this)
|
renderTagList(paramTags, "Params", this)
|
||||||
|
|
||||||
renderTag(section.findTagByName("return"), "Returns", this)
|
renderTag(section.findTagByName("return"), "Returns", this)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user