diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-11-17 12:38:47 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-11-17 12:38:47 +0100 |
commit | e7aeb481697a2b295b8c1f49102642caec11a34a (patch) | |
tree | 5414ea79774924c5214dd486df01072d8b154335 /src/Formats/MarkdownFormatService.kt | |
parent | 58d322242a6b43770cf697d9726448a46235504f (diff) | |
download | dokka-e7aeb481697a2b295b8c1f49102642caec11a34a.tar.gz dokka-e7aeb481697a2b295b8c1f49102642caec11a34a.tar.bz2 dokka-e7aeb481697a2b295b8c1f49102642caec11a34a.zip |
fix link extensions in kotlin-website format
Diffstat (limited to 'src/Formats/MarkdownFormatService.kt')
-rw-r--r-- | src/Formats/MarkdownFormatService.kt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Formats/MarkdownFormatService.kt b/src/Formats/MarkdownFormatService.kt index 29a9f5c4..f694ae3e 100644 --- a/src/Formats/MarkdownFormatService.kt +++ b/src/Formats/MarkdownFormatService.kt @@ -3,9 +3,11 @@ package org.jetbrains.dokka import com.google.inject.Inject -public open class MarkdownFormatService @Inject constructor(locationService: LocationService, - signatureGenerator: LanguageService) -: StructuredFormatService(locationService, signatureGenerator, "md") { +public open class MarkdownFormatService + @Inject constructor(locationService: LocationService, + signatureGenerator: LanguageService, + linkExtension: String = "md") +: StructuredFormatService(locationService, signatureGenerator, "md", linkExtension) { override public fun formatBreadcrumbs(items: Iterable<FormatLink>): String { return items.map { formatLink(it) }.joinToString(" / ") } |