aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main
diff options
context:
space:
mode:
authorvmishenev <vad-mishenev@yandex.ru>2021-10-29 01:36:14 +0300
committerGitHub <noreply@github.com>2021-10-29 01:36:14 +0300
commitd4e255b149c8c80cf13df9e10b128e892bb0d338 (patch)
tree9251e41d70d0e7b56f4252bb9f59b76358c375b5 /plugins/base/src/main
parent7dd0867a0f921b2ae06537c06de358949b42fbda (diff)
downloaddokka-d4e255b149c8c80cf13df9e10b128e892bb0d338.tar.gz
dokka-d4e255b149c8c80cf13df9e10b128e892bb0d338.tar.bz2
dokka-d4e255b149c8c80cf13df9e10b128e892bb0d338.zip
Fix names of nested inheritors (#2188)
Diffstat (limited to 'plugins/base/src/main')
-rw-r--r--plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
index 300e0926..332a0663 100644
--- a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
+++ b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
@@ -197,7 +197,7 @@ open class DefaultPageCreator(
}),
children = map.entries.flatMap { entry -> entry.value.map { Pair(entry.key, it) } }
.groupBy({ it.second }, { it.first }).map { (classlike, platforms) ->
- val label = classlike.classNames?.substringBeforeLast(".") ?: classlike.toString()
+ val label = classlike.classNames?.substringAfterLast(".") ?: classlike.toString()
.also { logger.warn("No class name found for DRI $classlike") }
buildGroup(
setOf(classlike),