From 61de8f746eb0c5451f5584d6744c0925de45593f Mon Sep 17 00:00:00 2001 From: Vadim Mishenev Date: Tue, 26 Jul 2022 16:02:22 +0300 Subject: Give notice of alpha version for GFM, Javadoc, Jekyll, KaJ formats (#2550) --- plugins/jekyll/src/main/kotlin/JekyllPlugin.kt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'plugins/jekyll/src/main/kotlin') diff --git a/plugins/jekyll/src/main/kotlin/JekyllPlugin.kt b/plugins/jekyll/src/main/kotlin/JekyllPlugin.kt index 4dfd21d3..2b6d646d 100644 --- a/plugins/jekyll/src/main/kotlin/JekyllPlugin.kt +++ b/plugins/jekyll/src/main/kotlin/JekyllPlugin.kt @@ -14,6 +14,7 @@ import org.jetbrains.dokka.plugability.DokkaContext import org.jetbrains.dokka.plugability.DokkaPlugin import org.jetbrains.dokka.plugability.plugin import org.jetbrains.dokka.plugability.query +import org.jetbrains.dokka.renderers.PostAction import org.jetbrains.dokka.transformers.pages.PageTransformer class JekyllPlugin : DokkaPlugin() { @@ -47,6 +48,14 @@ class JekyllPlugin : DokkaPlugin() { val locationProvider by extending { dokkaBase.locationProviderFactory providing ::DokkaLocationProviderFactory override listOf(gfmPlugin.locationProvider) } + + internal val alphaVersionNotifier by extending { + CoreExtensions.postActions providing { ctx -> + PostAction { + ctx.logger.warn("Jekyll output format is in Alpha version, use at your own risk, expect bugs and migration issues") + } + } + } } class JekyllRenderer( -- cgit