aboutsummaryrefslogtreecommitdiff
path: root/src/Formats/StructuredFormatService.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-01-12 17:23:07 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-01-12 17:23:07 +0100
commit0c584d0e12f07946fdfc8cc0e9f132558ff794fc (patch)
treee91219e900010aae0cfc0a95499ddd5650f201e7 /src/Formats/StructuredFormatService.kt
parentc4f40a03404641a9a42e6518cb066f2e0ae609e0 (diff)
downloaddokka-0c584d0e12f07946fdfc8cc0e9f132558ff794fc.tar.gz
dokka-0c584d0e12f07946fdfc8cc0e9f132558ff794fc.tar.bz2
dokka-0c584d0e12f07946fdfc8cc0e9f132558ff794fc.zip
enum values continued
Diffstat (limited to 'src/Formats/StructuredFormatService.kt')
-rw-r--r--src/Formats/StructuredFormatService.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Formats/StructuredFormatService.kt b/src/Formats/StructuredFormatService.kt
index 49a7c96b..3f505e37 100644
--- a/src/Formats/StructuredFormatService.kt
+++ b/src/Formats/StructuredFormatService.kt
@@ -1,6 +1,7 @@
package org.jetbrains.dokka
import java.util.LinkedHashMap
+import org.jetbrains.dokka.LanguageService.RenderMode
public data class FormatLink(val text: String, val location: Location)
@@ -162,7 +163,7 @@ public abstract class StructuredFormatService(val locationService: LocationServi
val breakdownBySummary = members.groupBy { formatText(location, it.summary) }
for ((summary, items) in breakdownBySummary) {
val signatureTexts = items map { signature ->
- val signature = languageService.render(signature)
+ val signature = languageService.render(signature, RenderMode.SUMMARY)
val signatureAsCode = ContentCode()
signatureAsCode.append(signature)
formatText(location, signatureAsCode)