diff options
author | Vadim Mishenev <vad-mishenev@yandex.ru> | 2022-07-26 16:02:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-26 16:02:22 +0300 |
commit | 61de8f746eb0c5451f5584d6744c0925de45593f (patch) | |
tree | 8ba692b9ef668ccd4a6995fb9c1e422072d8b39e /plugins/javadoc/src/main/kotlin | |
parent | ddfce852a8ce8e81adc4d4ff3e9956b330965e63 (diff) | |
download | dokka-61de8f746eb0c5451f5584d6744c0925de45593f.tar.gz dokka-61de8f746eb0c5451f5584d6744c0925de45593f.tar.bz2 dokka-61de8f746eb0c5451f5584d6744c0925de45593f.zip |
Give notice of alpha version for GFM, Javadoc, Jekyll, KaJ formats (#2550)
Diffstat (limited to 'plugins/javadoc/src/main/kotlin')
-rw-r--r-- | plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/JavadocPlugin.kt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/JavadocPlugin.kt b/plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/JavadocPlugin.kt index 7f90f1ce..a067de84 100644 --- a/plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/JavadocPlugin.kt +++ b/plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/JavadocPlugin.kt @@ -14,6 +14,7 @@ import org.jetbrains.dokka.javadoc.transformers.documentables.JavadocDocumentabl import org.jetbrains.dokka.javadoc.validity.MultiplatformConfiguredChecker import org.jetbrains.dokka.kotlinAsJava.KotlinAsJavaPlugin import org.jetbrains.dokka.plugability.DokkaPlugin +import org.jetbrains.dokka.renderers.PostAction import org.jetbrains.dokka.transformers.pages.PageTransformer class JavadocPlugin : DokkaPlugin() { @@ -81,5 +82,13 @@ class JavadocPlugin : DokkaPlugin() { val deprecatedPageCreator by extending { javadocPreprocessors with DeprecatedPageCreator order { before(rootCreator) } } + + internal val alphaVersionNotifier by extending { + CoreExtensions.postActions providing { ctx -> + PostAction { + ctx.logger.warn("Javadoc output format is in Alpha version, use at your own risk, expect bugs and migration issues") + } + } + } } |