aboutsummaryrefslogtreecommitdiff
path: root/src/Formats/HtmlFormatService.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/Formats/HtmlFormatService.kt')
-rw-r--r--src/Formats/HtmlFormatService.kt11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/Formats/HtmlFormatService.kt b/src/Formats/HtmlFormatService.kt
index 6c004509..6f81e8eb 100644
--- a/src/Formats/HtmlFormatService.kt
+++ b/src/Formats/HtmlFormatService.kt
@@ -1,6 +1,6 @@
package org.jetbrains.dokka
-public open class HtmlFormatService(locationService: LocationService, signatureGenerator: SignatureGenerator)
+public open class HtmlFormatService(locationService: LocationService, signatureGenerator: LanguageService)
: StructuredFormatService(locationService, signatureGenerator) {
override val extension: String = "html"
@@ -32,8 +32,8 @@ public open class HtmlFormatService(locationService: LocationService, signatureG
to.appendln("<br/>")
}
- override fun formatLink(link: FormatLink): String {
- return "<a href=\"${link.location.path}\">${link.text}</a>"
+ override fun formatLink(text: String, location: Location): String {
+ return "<a href=\"${location.path}\">${text}</a>"
}
override fun formatBold(text: String): String {
@@ -47,4 +47,9 @@ public open class HtmlFormatService(locationService: LocationService, signatureG
override fun formatBreadcrumbs(items: Iterable<FormatLink>): String {
return items.map { formatLink(it) }.joinToString("&nbsp;/&nbsp;")
}
+
+ override fun appendOutlineChildren(to: StringBuilder, nodes: Iterable<DocumentationNode>) {
+ }
+ override fun appendOutlineHeader(to: StringBuilder, node: DocumentationNode) {
+ }
} \ No newline at end of file