aboutsummaryrefslogtreecommitdiff
path: root/plugins/base
diff options
context:
space:
mode:
authorIgnat Beresnev <ignat.beresnev@jetbrains.com>2022-06-16 18:36:20 +0200
committerGitHub <noreply@github.com>2022-06-16 18:36:20 +0200
commitb783439932372e823c36776c53cda5bdc8d0ccae (patch)
tree9845b5f40d19e806aaf04d171444aa55dc6c9572 /plugins/base
parent933939eca471ab3041ad05a7470cc1a65db56839 (diff)
downloaddokka-b783439932372e823c36776c53cda5bdc8d0ccae.tar.gz
dokka-b783439932372e823c36776c53cda5bdc8d0ccae.tar.bz2
dokka-b783439932372e823c36776c53cda5bdc8d0ccae.zip
Make long property names breakable (#2537)
Diffstat (limited to 'plugins/base')
-rw-r--r--plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
index c5136c27..52811961 100644
--- a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
+++ b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
@@ -760,7 +760,12 @@ open class DefaultPageCreator(
headers("Name", "Summary")
)
) { key, props ->
- link(key, props.first().dri, kind = ContentKind.Main)
+ link(
+ text = key,
+ address = props.first().dri,
+ kind = ContentKind.Main,
+ styles = setOf(ContentStyle.RowTitle)
+ )
sourceSetDependentHint(props.dri, props.sourceSets, kind = ContentKind.SourceSetDependentHint) {
props.forEach {
+buildSignature(it)