From e7aeb481697a2b295b8c1f49102642caec11a34a Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Tue, 17 Nov 2015 12:38:47 +0100 Subject: fix link extensions in kotlin-website format --- src/Formats/MarkdownFormatService.kt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/Formats/MarkdownFormatService.kt') 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): String { return items.map { formatLink(it) }.joinToString(" / ") } -- cgit