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/StructuredFormatService.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/StructuredFormatService.kt')
-rw-r--r-- | src/Formats/StructuredFormatService.kt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Formats/StructuredFormatService.kt b/src/Formats/StructuredFormatService.kt index 6bc28522..32a2b68a 100644 --- a/src/Formats/StructuredFormatService.kt +++ b/src/Formats/StructuredFormatService.kt @@ -12,8 +12,9 @@ enum class ListKind { abstract class StructuredFormatService(locationService: LocationService, val languageService: LanguageService, - override val extension: String) : FormatService { - val locationService: LocationService = locationService.withExtension(extension) + override val extension: String, + val linkExtension: String = extension) : FormatService { + val locationService: LocationService = locationService.withExtension(linkExtension) abstract fun appendBlockCode(to: StringBuilder, line: String, language: String) abstract fun appendHeader(to: StringBuilder, text: String, level: Int = 1) |