aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/renderers/DefaultRenderer.kt
diff options
context:
space:
mode:
authorPaweł Marks <pmarks@virtuslab.com>2019-11-05 17:20:21 +0100
committerPaweł Marks <pmarks@virtuslab.com>2019-11-05 17:28:56 +0100
commit940cf84196f0cd0dbeafae2f0ec5f73a49b68285 (patch)
tree2515a99b221641cb67c9a32ab109f13c7c3f1e73 /core/src/main/kotlin/renderers/DefaultRenderer.kt
parentab7333e7ffe6fbfda4e55fcc168dc00eece3f7f8 (diff)
downloaddokka-940cf84196f0cd0dbeafae2f0ec5f73a49b68285.tar.gz
dokka-940cf84196f0cd0dbeafae2f0ec5f73a49b68285.tar.bz2
dokka-940cf84196f0cd0dbeafae2f0ec5f73a49b68285.zip
Signateures wrapped in symbols
Diffstat (limited to 'core/src/main/kotlin/renderers/DefaultRenderer.kt')
-rw-r--r--core/src/main/kotlin/renderers/DefaultRenderer.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/renderers/DefaultRenderer.kt b/core/src/main/kotlin/renderers/DefaultRenderer.kt
index a2ca4131..e3b3fbeb 100644
--- a/core/src/main/kotlin/renderers/DefaultRenderer.kt
+++ b/core/src/main/kotlin/renderers/DefaultRenderer.kt
@@ -14,7 +14,7 @@ abstract class DefaultRenderer(val fileWriter: FileWriter, val locationProvider:
protected open fun buildHeader(level: Int, content: List<ContentNode>, pageContext: PageNode): String = buildHeader(level, content.joinToString { it.build(pageContext) })
protected open fun buildGroup(children: List<ContentNode>, pageContext: PageNode): String = children.joinToString { it.build(pageContext) }
protected open fun buildComment(parts: List<ContentNode>, pageContext: PageNode): String = parts.joinToString { it.build(pageContext) }
- protected open fun buildSymbol(parts: List<ContentNode>, pageContext: PageNode): String = parts.joinToString { it.build(pageContext) }
+ protected open fun buildSymbol(parts: List<ContentNode>, pageContext: PageNode): String = parts.joinToString(separator = "") { it.build(pageContext) }
protected open fun buildBlock(name: String, content: List<ContentNode>, pageContext: PageNode) = buildHeader(3, name) + content.joinToString("\n") { it.build(pageContext) }
protected open fun ContentNode.build(pageContext: PageNode): String = buildContentNode(this, pageContext)