aboutsummaryrefslogtreecommitdiff
path: root/src/Formats
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-10-28 11:38:40 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-10-29 11:57:21 +0100
commit0efda36cc309e117641f2226a451cf98e42c421e (patch)
treee6a0c8c2c228c27bc9ef02d116d5416a85152aee /src/Formats
parentae2ff5b82931666fc908750d39e31bd6dc39359f (diff)
downloaddokka-0efda36cc309e117641f2226a451cf98e42c421e.tar.gz
dokka-0efda36cc309e117641f2226a451cf98e42c421e.tar.bz2
dokka-0efda36cc309e117641f2226a451cf98e42c421e.zip
exclude 'inline', 'noinline' and 'crossinline' from summary report; fix tests
Diffstat (limited to 'src/Formats')
-rw-r--r--src/Formats/StructuredFormatService.kt7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/Formats/StructuredFormatService.kt b/src/Formats/StructuredFormatService.kt
index 5a8109dc..8473ccd5 100644
--- a/src/Formats/StructuredFormatService.kt
+++ b/src/Formats/StructuredFormatService.kt
@@ -259,10 +259,8 @@ public abstract class StructuredFormatService(locationService: LocationService,
private fun appendSummarySignatures(items: List<DocumentationNode>, location: Location, to: StringBuilder) {
val summarySignature = languageService.summarizeSignatures(items)
if (summarySignature != null) {
- val signatureAsCode = ContentCode()
- signatureAsCode.append(summarySignature)
- appendAsSignature(to, signatureAsCode) {
- appendLine(to, signatureAsCode.signatureToText(location))
+ appendAsSignature(to, summarySignature) {
+ appendLine(to, summarySignature.signatureToText(location))
}
return
}
@@ -271,7 +269,6 @@ public abstract class StructuredFormatService(locationService: LocationService,
appendAsSignature(to, it) {
appendLine(to, it.signatureToText(location))
}
- appendLine(to)
}
appendAsSignature(to, renderedSignatures.last()) {
to.append(renderedSignatures.last().signatureToText(location))