aboutsummaryrefslogtreecommitdiff
path: root/src/Formats/FormatService.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-01-16 16:55:22 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-01-16 16:55:22 +0100
commit82de2309e53df4206e99beb36ef51326dbae48a2 (patch)
treeffca7f8610e5f9527d553a9b88f5fe347cbd8647 /src/Formats/FormatService.kt
parentd75cc63e9b1edc229fad225956ba44fa433e2d0e (diff)
downloaddokka-82de2309e53df4206e99beb36ef51326dbae48a2.tar.gz
dokka-82de2309e53df4206e99beb36ef51326dbae48a2.tar.bz2
dokka-82de2309e53df4206e99beb36ef51326dbae48a2.zip
refactor outline generation; generate HTML outline
Diffstat (limited to 'src/Formats/FormatService.kt')
-rw-r--r--src/Formats/FormatService.kt6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Formats/FormatService.kt b/src/Formats/FormatService.kt
index bb6da985..cc190346 100644
--- a/src/Formats/FormatService.kt
+++ b/src/Formats/FormatService.kt
@@ -14,13 +14,7 @@ public trait FormatService {
/** Appends formatted content to [StringBuilder](to) using specified [location] */
fun appendNodes(location: Location, to: StringBuilder, nodes: Iterable<DocumentationNode>)
-
- /** Appends formatted outline to [StringBuilder](to) using specified [location] */
- fun appendOutline(location: Location, to: StringBuilder, nodes: Iterable<DocumentationNode>)
}
/** Format content to [String] using specified [location] */
fun FormatService.format(location: Location, nodes: Iterable<DocumentationNode>): String = StringBuilder { appendNodes(location, this, nodes) }.toString()
-
-/** Format outline to [String] using specified [location] */
-fun FormatService.formatOutline(location: Location, nodes: Iterable<DocumentationNode>): String = StringBuilder { appendOutline(location, this, nodes) }.toString() \ No newline at end of file