diff options
author | Marcin Aman <maman@virtuslab.com> | 2020-07-02 13:21:00 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-07-13 14:47:37 +0200 |
commit | b67f44943bc80dedd70c4a9e120b9c6aec78ca72 (patch) | |
tree | 349a417b0ed67e1220b4d7c3c82800a7d3a956bd /plugins/base/src/main/kotlin/transformers | |
parent | f042de920724f6e2ae4ccbcb21baed6b490290ab (diff) | |
download | dokka-b67f44943bc80dedd70c4a9e120b9c6aec78ca72.tar.gz dokka-b67f44943bc80dedd70c4a9e120b9c6aec78ca72.tar.bz2 dokka-b67f44943bc80dedd70c4a9e120b9c6aec78ca72.zip |
Draft for showing only first level of inheritance
Diffstat (limited to 'plugins/base/src/main/kotlin/transformers')
-rw-r--r-- | plugins/base/src/main/kotlin/transformers/documentables/InheritorsExtractorTransformer.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/transformers/documentables/InheritorsExtractorTransformer.kt b/plugins/base/src/main/kotlin/transformers/documentables/InheritorsExtractorTransformer.kt index f1bccd66..85256d51 100644 --- a/plugins/base/src/main/kotlin/transformers/documentables/InheritorsExtractorTransformer.kt +++ b/plugins/base/src/main/kotlin/transformers/documentables/InheritorsExtractorTransformer.kt @@ -63,7 +63,7 @@ class InheritorsExtractorTransformer : DocumentableTransformer { private fun <T : Documentable> T.toInheritanceEntries() = (this as? WithSupertypes)?.let { - it.supertypes.map { (k, v) -> k to v.map { it to dri } } + it.supertypes.map { (k, v) -> k to v.map { it.dri to dri } } }.orEmpty() } |