diff options
author | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-07-14 21:15:04 +0400 |
---|---|---|
committer | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-07-14 21:15:04 +0400 |
commit | cd7084ddc4e6e7f32a35d265bfb1307fdaf27011 (patch) | |
tree | a01d7ded59d59cf96d67ad085424294e36f014a7 /src/Formats/FormatService.kt | |
parent | 0b2e3467bb6ae3d6df935063f0bc9579cd392c98 (diff) | |
download | dokka-cd7084ddc4e6e7f32a35d265bfb1307fdaf27011.tar.gz dokka-cd7084ddc4e6e7f32a35d265bfb1307fdaf27011.tar.bz2 dokka-cd7084ddc4e6e7f32a35d265bfb1307fdaf27011.zip |
Refactor to multiple-nodes formatting, implement smarter markdown format service.
Diffstat (limited to 'src/Formats/FormatService.kt')
-rw-r--r-- | src/Formats/FormatService.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Formats/FormatService.kt b/src/Formats/FormatService.kt index 9e36c400..3708e9a7 100644 --- a/src/Formats/FormatService.kt +++ b/src/Formats/FormatService.kt @@ -2,7 +2,7 @@ package org.jetbrains.dokka public trait FormatService { val extension: String - fun format(node: DocumentationNode, to: StringBuilder) + fun format(nodes: Iterable<DocumentationNode>, to: StringBuilder) } -fun FormatService.format(node: DocumentationNode): String = StringBuilder { format(node, this) }.toString()
\ No newline at end of file +fun FormatService.format(node: Iterable<DocumentationNode>): String = StringBuilder { format(node, this) }.toString()
\ No newline at end of file |