diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2019-09-30 23:29:42 +0200 |
---|---|---|
committer | Kamil Doległo <kamilok1965@interia.pl> | 2019-09-30 23:29:42 +0200 |
commit | 44096805509f2398e360211ed7fae1125da44f7b (patch) | |
tree | 56aea1e4f87c8b9128c498b5db5384c1ea78f931 | |
parent | d007f06e011f2d1699a1d2c34e04c915c0106aed (diff) | |
download | dokka-44096805509f2398e360211ed7fae1125da44f7b.tar.gz dokka-44096805509f2398e360211ed7fae1125da44f7b.tar.bz2 dokka-44096805509f2398e360211ed7fae1125da44f7b.zip |
Fix alltypes page look
-rw-r--r-- | core/src/main/kotlin/Formats/StructuredFormatService.kt | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/core/src/main/kotlin/Formats/StructuredFormatService.kt b/core/src/main/kotlin/Formats/StructuredFormatService.kt index 7299670e..76f9366f 100644 --- a/core/src/main/kotlin/Formats/StructuredFormatService.kt +++ b/core/src/main/kotlin/Formats/StructuredFormatService.kt @@ -900,18 +900,17 @@ abstract class StructuredOutputBuilder(val to: StringBuilder, val platforms = effectivePlatformsForNode(type) appendIndexRow(platforms) { appendPlatforms(platforms) - appendHeader(level = 5) { - appendLink(link(node, type) { - if (it.kind == NodeKind.ExternalClass) it.name else it.qualifiedName() - }) - } - if (type.kind == NodeKind.ExternalClass) { val packageName = type.owner?.name if (packageName != null) { appendText(" (extensions in package $packageName)") } } + appendHeader(level = 5) { + appendLink(link(node, type) { + if (it.kind == NodeKind.ExternalClass) it.name else it.qualifiedName() + }) + } appendContent(type.summary) } |