aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/Formats
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/main/kotlin/Formats')
-rw-r--r--core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt15
1 files changed, 13 insertions, 2 deletions
diff --git a/core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt b/core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt
index eac053aa..08349980 100644
--- a/core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt
+++ b/core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt
@@ -174,9 +174,14 @@ open class KotlinWebsiteOutputBuilder(to: StringBuilder,
class KotlinWebsiteFormatService @Inject constructor(locationService: LocationService,
signatureGenerator: LanguageService,
- @Named(impliedPlatformsName) impliedPlatforms: List<String>)
+ @Named(impliedPlatformsName) impliedPlatforms: List<String>,
+ logger: DokkaLogger)
: JekyllFormatService(locationService, signatureGenerator, "html", impliedPlatforms)
{
+ init {
+ logger.warn("Format kotlin-website deprecated and will be removed in next release")
+ }
+
override fun createOutputBuilder(to: StringBuilder, location: Location) =
KotlinWebsiteOutputBuilder(to, location, locationService, languageService, extension, impliedPlatforms)
}
@@ -204,8 +209,14 @@ class KotlinWebsiteRunnableSamplesOutputBuilder(to: StringBuilder,
class KotlinWebsiteRunnableSamplesFormatService @Inject constructor(locationService: LocationService,
signatureGenerator: LanguageService,
- @Named(impliedPlatformsName) impliedPlatforms: List<String>)
+ @Named(impliedPlatformsName) impliedPlatforms: List<String>,
+ logger: DokkaLogger)
: JekyllFormatService(locationService, signatureGenerator, "html", impliedPlatforms) {
+
+ init {
+ logger.warn("Format kotlin-website-samples deprecated and will be removed in next release")
+ }
+
override fun createOutputBuilder(to: StringBuilder, location: Location) =
KotlinWebsiteRunnableSamplesOutputBuilder(to, location, locationService, languageService, extension, impliedPlatforms)
}