diff options
author | Andrzej Ratajczak <andrzej.ratajczak98@gmail.com> | 2020-07-07 13:47:10 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-07-08 11:48:29 +0200 |
commit | a97ae720815e462c2e941d84c6273d8ecc138e6b (patch) | |
tree | 60f42ffe8db1e42ed7bfb2941c5919bb8a90262b /plugins/gfm/src/main/kotlin/GfmPlugin.kt | |
parent | 8150d8478018ab36ae2bab0447bbd3322a895e36 (diff) | |
download | dokka-a97ae720815e462c2e941d84c6273d8ecc138e6b.tar.gz dokka-a97ae720815e462c2e941d84c6273d8ecc138e6b.tar.bz2 dokka-a97ae720815e462c2e941d84c6273d8ecc138e6b.zip |
Fix tests after rebase
Diffstat (limited to 'plugins/gfm/src/main/kotlin/GfmPlugin.kt')
-rw-r--r-- | plugins/gfm/src/main/kotlin/GfmPlugin.kt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/gfm/src/main/kotlin/GfmPlugin.kt b/plugins/gfm/src/main/kotlin/GfmPlugin.kt index 7db06bb2..671b87f8 100644 --- a/plugins/gfm/src/main/kotlin/GfmPlugin.kt +++ b/plugins/gfm/src/main/kotlin/GfmPlugin.kt @@ -149,7 +149,7 @@ open class CommonmarkRenderer( platforms.joinToString( prefix = " [", postfix = "] $text " - ) { "${it.moduleDisplayName}/${it.sourceSetID}" }) + ) { it.sourceSetID.toString() }) buildNewLine() } } @@ -166,7 +166,7 @@ open class CommonmarkRenderer( ) { if (node.dci.kind == ContentKind.Sample || node.dci.kind == ContentKind.Parameters) { node.sourceSets.forEach { sourcesetData -> - append("${sourcesetData.moduleDisplayName}/${sourcesetData.sourceSetID}") + append(sourcesetData.sourceSetID.toString()) buildNewLine() buildTable( node.copy( @@ -251,7 +251,7 @@ open class CommonmarkRenderer( distinct.values.forEach { entry -> val (instance, sourceSets) = entry.getInstanceAndSourceSets() - append(sourceSets.joinToString(prefix = "#### [", postfix = "]") { "${it.moduleName}/${it.sourceSetID}" }) + append(sourceSets.joinToString(prefix = "#### [", postfix = "]") { it.sourceSetID.toString() }) buildNewLine() instance.before?.let { append("##### Brief description") @@ -266,7 +266,7 @@ open class CommonmarkRenderer( .values.forEach { innerEntry -> val (innerInstance, innerSourceSets) = innerEntry.getInstanceAndSourceSets() if(sourceSets.size > 1) { - append(innerSourceSets.joinToString(prefix = "###### [", postfix = "]") { "${it.moduleName}/${it.sourceSetID}" }) + append(innerSourceSets.joinToString(prefix = "###### [", postfix = "]") { it.sourceSetID.toString() }) buildNewLine() } innerInstance.divergent.build(this@buildDivergent, pageContext) |