aboutsummaryrefslogtreecommitdiff
path: root/src/Formats/StructuredFormatService.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-03-02 16:17:28 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-03-02 16:17:28 +0100
commitf462317925b3706a4184ba468a353e573a4877c5 (patch)
treeb89315a94973960df8caf313bb7a20a8193c86e6 /src/Formats/StructuredFormatService.kt
parent31692499975f071dce028c8912d3a80ea6019aca (diff)
downloaddokka-f462317925b3706a4184ba468a353e573a4877c5.tar.gz
dokka-f462317925b3706a4184ba468a353e573a4877c5.tar.bz2
dokka-f462317925b3706a4184ba468a353e573a4877c5.zip
for functions that can be called as operators, show operator being implemented
Diffstat (limited to 'src/Formats/StructuredFormatService.kt')
-rw-r--r--src/Formats/StructuredFormatService.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Formats/StructuredFormatService.kt b/src/Formats/StructuredFormatService.kt
index 41deeed0..b3d1463e 100644
--- a/src/Formats/StructuredFormatService.kt
+++ b/src/Formats/StructuredFormatService.kt
@@ -114,6 +114,9 @@ public abstract class StructuredFormatService(locationService: LocationService,
}
// All items have exactly the same documentation, so we can use any item to render it
val item = items.first()
+ item.details(DocumentationNode.Kind.OverloadGroupNote).forEach {
+ to.append(formatText(location, it.content))
+ }
to.append(formatText(location, item.content.summary))
appendDescription(location, to, item)
appendLine(to)