aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2021-03-10 02:29:33 +0100
committerGitHub <noreply@github.com>2021-03-10 02:29:33 +0100
commit9bcc94196ec388a7f8351f4190506efcd746a6fd (patch)
tree52d83252692ba1105b55ce0f1dcba1fee2e18911 /plugins/base/src/main
parent5672eac58619fc13c1f611d1e7fe599444400f3b (diff)
downloaddokka-9bcc94196ec388a7f8351f4190506efcd746a6fd.tar.gz
dokka-9bcc94196ec388a7f8351f4190506efcd746a6fd.tar.bz2
dokka-9bcc94196ec388a7f8351f4190506efcd746a6fd.zip
Add sourceset name to source label (#1767)
Diffstat (limited to 'plugins/base/src/main')
-rw-r--r--plugins/base/src/main/kotlin/transformers/pages/sourcelinks/SourceLinksTransformer.kt2
1 files changed, 1 insertions, 1 deletions
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),