aboutsummaryrefslogtreecommitdiff
path: root/src/Formats/MarkdownFormatService.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-02-19 19:51:01 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-02-19 19:51:01 +0100
commitea1f4cc2987536c3ed3df5899e6cec2df890f1e6 (patch)
treeceb0324a2829523587c750d771fc83d849ae4e13 /src/Formats/MarkdownFormatService.kt
parentd9bfa029b0ecf300ae47cf1033db2d5cb323d705 (diff)
downloaddokka-ea1f4cc2987536c3ed3df5899e6cec2df890f1e6.tar.gz
dokka-ea1f4cc2987536c3ed3df5899e6cec2df890f1e6.tar.bz2
dokka-ea1f4cc2987536c3ed3df5899e6cec2df890f1e6.zip
refactor extension setup; encapsulate extension in LocationService
Diffstat (limited to 'src/Formats/MarkdownFormatService.kt')
-rw-r--r--src/Formats/MarkdownFormatService.kt5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Formats/MarkdownFormatService.kt b/src/Formats/MarkdownFormatService.kt
index b855ec9c..281ca21d 100644
--- a/src/Formats/MarkdownFormatService.kt
+++ b/src/Formats/MarkdownFormatService.kt
@@ -3,10 +3,7 @@ package org.jetbrains.dokka
public open class MarkdownFormatService(locationService: LocationService,
signatureGenerator: LanguageService)
-: StructuredFormatService(locationService, signatureGenerator) {
-
- override val extension: String = "md"
-
+: StructuredFormatService(locationService, signatureGenerator, "md") {
override public fun formatBreadcrumbs(items: Iterable<FormatLink>): String {
return items.map { formatLink(it) }.joinToString(" / ")
}