From 8150d8478018ab36ae2bab0447bbd3322a895e36 Mon Sep 17 00:00:00 2001 From: Andrzej Ratajczak Date: Thu, 2 Jul 2020 17:32:21 +0200 Subject: Add GFM tests --- .../kotlin/transformers/pages/sourcelinks/SourceLinksTransformer.kt | 2 +- .../src/main/kotlin/translators/documentables/PageContentBuilder.kt | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'plugins/base/src/main/kotlin') 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 42422934..9a11c126 100644 --- a/plugins/base/src/main/kotlin/transformers/pages/sourcelinks/SourceLinksTransformer.kt +++ b/plugins/base/src/main/kotlin/transformers/pages/sourcelinks/SourceLinksTransformer.kt @@ -62,7 +62,7 @@ class SourceLinksTransformer(val context: DokkaContext, val builder: PageContent emptyList(), sources.map { buildGroup(node.dri, setOf(it.first), kind = ContentKind.Source) { - +link("(source)", it.second) + link("(source)", it.second) } }, DCI(node.dri, ContentKind.Source), diff --git a/plugins/base/src/main/kotlin/translators/documentables/PageContentBuilder.kt b/plugins/base/src/main/kotlin/translators/documentables/PageContentBuilder.kt index 58b384e2..94aa2c5a 100644 --- a/plugins/base/src/main/kotlin/translators/documentables/PageContentBuilder.kt +++ b/plugins/base/src/main/kotlin/translators/documentables/PageContentBuilder.kt @@ -244,8 +244,8 @@ open class PageContentBuilder( sourceSets: Set = mainSourcesetData, styles: Set