Skip to content

Commit b783439

Browse files
Make long property names breakable (#2537)
1 parent 933939e commit b783439

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,12 @@ open class DefaultPageCreator(
760760
headers("Name", "Summary")
761761
)
762762
) { key, props ->
763-
link(key, props.first().dri, kind = ContentKind.Main)
763+
link(
764+
text = key,
765+
address = props.first().dri,
766+
kind = ContentKind.Main,
767+
styles = setOf(ContentStyle.RowTitle)
768+
)
764769
sourceSetDependentHint(props.dri, props.sourceSets, kind = ContentKind.SourceSetDependentHint) {
765770
props.forEach {
766771
+buildSignature(it)

0 commit comments

Comments
 (0)