diff options
author | Marcin Aman <maman@virtuslab.com> | 2020-05-11 16:09:57 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-05-12 11:27:42 +0200 |
commit | 79d1827b5d249c0a597c6c2f9cb91ff8f5689d94 (patch) | |
tree | c179e6a9b4e8e70e9b7ca1e22d5b74ed6c7bc9f5 /plugins/base | |
parent | 21ac1c15f69a76db46825b565b70e3bd07c7d004 (diff) | |
download | dokka-79d1827b5d249c0a597c6c2f9cb91ff8f5689d94.tar.gz dokka-79d1827b5d249c0a597c6c2f9cb91ff8f5689d94.tar.bz2 dokka-79d1827b5d249c0a597c6c2f9cb91ff8f5689d94.zip |
Remove empty signature from enum, fixes #840
Diffstat (limited to 'plugins/base')
-rw-r--r-- | plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt index 61ec2acf..424e6aa4 100644 --- a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt +++ b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt @@ -184,10 +184,7 @@ open class DefaultPageCreator( } if (c is DEnum) { block("Entries", 2, ContentKind.Classlikes, c.entries, c.platformData.toSet()) { - link(it.name.orEmpty(), it.dri, kind = ContentKind.Main) - platformDependentHint(it.dri, it.platformData.toSet(), kind = ContentKind.Symbol) { - +buildSignature(it) - } + link(it.name, it.dri, kind = ContentKind.Main) group(kind = ContentKind.BriefComment) { text(it.briefDocumentation()) } |