From 9bcc94196ec388a7f8351f4190506efcd746a6fd Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Wed, 10 Mar 2021 02:29:33 +0100 Subject: Add sourceset name to source label (#1767) --- .../kotlin/transformers/pages/sourcelinks/SourceLinksTransformer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/base/src/main/kotlin/transformers/pages/sourcelinks/SourceLinksTransformer.kt b/plugins/base/src/main/kotlin/transformers/pages/sourcelinks/SourceLinksTransformer.kt index 4f2d23c7..f66ff222 100644 --- a/plugins/base/src/main/kotlin/transformers/pages/sourcelinks/SourceLinksTransformer.kt +++ b/plugins/base/src/main/kotlin/transformers/pages/sourcelinks/SourceLinksTransformer.kt @@ -74,7 +74,7 @@ class SourceLinksTransformer(val context: DokkaContext) : PageTransformer { header = emptyList(), children = sources.map { buildGroup(node.dri, setOf(it.first), kind = ContentKind.Source, extra = mainExtra + SymbolAnchorHint(it.second, ContentKind.Source)) { - link("(source)", it.second) + link("${it.first.displayName} source", it.second) } }, dci = DCI(node.dri, ContentKind.Source), -- cgit