diff options
author | Dmitry Jemerov <intelliyole@gmail.com> | 2015-01-16 19:14:24 +0100 |
---|---|---|
committer | Dmitry Jemerov <intelliyole@gmail.com> | 2015-01-16 19:14:24 +0100 |
commit | 5eab453ea82634af9b876bff26227ec2d0e753ca (patch) | |
tree | fed6a72ab7d4998b3acfffc2eafc0d01d2ee0ef0 /src/Formats/FormatService.kt | |
parent | d75cc63e9b1edc229fad225956ba44fa433e2d0e (diff) | |
parent | 29d0822f4521ac1a9d17f78be6e41488b2ef00d2 (diff) | |
download | dokka-5eab453ea82634af9b876bff26227ec2d0e753ca.tar.gz dokka-5eab453ea82634af9b876bff26227ec2d0e753ca.tar.bz2 dokka-5eab453ea82634af9b876bff26227ec2d0e753ca.zip |
Merge pull request #23 from orangy/html-outline
refactor outline generation; generate HTML outline
Diffstat (limited to 'src/Formats/FormatService.kt')
-rw-r--r-- | src/Formats/FormatService.kt | 6 |
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 |