From b2b542988d1523749ab3a881e3cd4cf502ccdd6d Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Wed, 28 Jul 2021 18:23:50 +0200 Subject: Fix broken link in kotlinx.serialization (#2038) * Fix broken link in kotlinx.serialization * Rename DRIWithSourceSet to DRIWithSourceSets --- .../main/kotlin/translators/documentables/DefaultPageCreator.kt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'plugins/base/src/main/kotlin/translators/documentables') diff --git a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt index eaa4b6cd..081608d6 100644 --- a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt +++ b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt @@ -607,7 +607,13 @@ open class DefaultPageCreator( styles = emptySet(), extra = elementName?.let { name -> extra + SymbolAnchorHint(name, kind) } ?: extra ) { - link(elementName.orEmpty(), elements.first().dri, kind = kind, styles = setOf(ContentStyle.RowTitle)) + link( + text = elementName.orEmpty(), + address = elements.first().dri, + kind = kind, + styles = setOf(ContentStyle.RowTitle), + sourceSets = elements.sourceSets.toSet(), + ) divergentGroup( ContentDivergentGroup.GroupID(name), elements.map { it.dri }.toSet(), -- cgit