aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main
diff options
context:
space:
mode:
authorMarcin Aman <maman@virtuslab.com>2020-05-14 17:47:39 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-05-19 09:56:32 +0200
commit65e69a8d204f873a4034810436649c3f02de3ad0 (patch)
tree392ec525066e524bb8ee5693d3934fe408937b37 /plugins/base/src/main
parentaddf5db5382bc99caf842d543e0b417b5e997dd9 (diff)
downloaddokka-65e69a8d204f873a4034810436649c3f02de3ad0.tar.gz
dokka-65e69a8d204f873a4034810436649c3f02de3ad0.tar.bz2
dokka-65e69a8d204f873a4034810436649c3f02de3ad0.zip
Divergent UI fixes
Diffstat (limited to 'plugins/base/src/main')
-rw-r--r--plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt10
1 files changed, 4 insertions, 6 deletions
diff --git a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
index 51e95160..d1086132 100644
--- a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
+++ b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
@@ -163,7 +163,7 @@ open class DefaultPageCreator(
}
if (c is DEnum) {
block("Entries", 2, ContentKind.Classlikes, c.entries, c.sourceSets.toSet()) {
- link(it.name, it.dri, kind = ContentKind.Main)
+ link(it.name, it.dri)
sourceSetDependentHint(it.dri, it.sourceSets.toSet(), kind = ContentKind.SourceSetDependantHint) {
+buildSignature(it)
contentForBrief(it)
@@ -317,7 +317,7 @@ open class DefaultPageCreator(
root?.let {
group(sourceSets = setOf(platform), kind = ContentKind.BriefComment) {
- text(it.docTagSummary(), kind = ContentKind.Comment)
+ comment(it)
}
}
}
@@ -353,7 +353,7 @@ open class DefaultPageCreator(
divergentGroup(
ContentDivergentGroup.GroupID(name),
elements.map { it.dri }.toSet(),
- kind = ContentKind.Symbol
+ kind = ContentKind.SourceSetDependantHint
) {
elements.map {
instance(setOf(it.dri), it.sourceSets.toSet()) {
@@ -363,9 +363,7 @@ open class DefaultPageCreator(
}
}
after {
- group(kind = ContentKind.BriefComment) {
- contentForBrief(it)
- }
+ contentForBrief(it)
}
}
}