diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2019-10-04 00:05:56 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2019-10-04 00:05:56 +0300 |
commit | de2f32d91fb6f564826ddd7644940452356e2080 (patch) | |
tree | 0add9a228d498e19279500c37a20c62ef224cec2 /core/src/main/kotlin/Formats | |
parent | 06fb0d88cd096ce287cc63fd37035ad77e2b58e2 (diff) | |
parent | a28db3c1a618ce4b413c7315e8b0a9f43b6ade4a (diff) | |
download | dokka-de2f32d91fb6f564826ddd7644940452356e2080.tar.gz dokka-de2f32d91fb6f564826ddd7644940452356e2080.tar.bz2 dokka-de2f32d91fb6f564826ddd7644940452356e2080.zip |
Merge remote-tracking branch 'origin/multiplatform-support' into tmp--release--0.10.0
Diffstat (limited to 'core/src/main/kotlin/Formats')
-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) } |