diff options
author | Vadim Mishenev <vad-mishenev@yandex.ru> | 2023-02-24 19:16:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-24 19:16:54 +0200 |
commit | b730bf43d93c60df2fc3a1b0b25485b1458a9488 (patch) | |
tree | 163aca76050405db1352f73d4b8e3baa4a712c88 /plugins/versioning | |
parent | 1040288ca76e070445f1400df2fcc5a56310be28 (diff) | |
download | dokka-b730bf43d93c60df2fc3a1b0b25485b1458a9488.tar.gz dokka-b730bf43d93c60df2fc3a1b0b25485b1458a9488.tar.bz2 dokka-b730bf43d93c60df2fc3a1b0b25485b1458a9488.zip |
Mark Plugin Api as experimental (#2743)
Diffstat (limited to 'plugins/versioning')
-rw-r--r-- | plugins/versioning/src/main/kotlin/org/jetbrains/dokka/versioning/VersioningPlugin.kt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/versioning/src/main/kotlin/org/jetbrains/dokka/versioning/VersioningPlugin.kt b/plugins/versioning/src/main/kotlin/org/jetbrains/dokka/versioning/VersioningPlugin.kt index e4e8bbae..c8408093 100644 --- a/plugins/versioning/src/main/kotlin/org/jetbrains/dokka/versioning/VersioningPlugin.kt +++ b/plugins/versioning/src/main/kotlin/org/jetbrains/dokka/versioning/VersioningPlugin.kt @@ -3,6 +3,8 @@ package org.jetbrains.dokka.versioning import org.jetbrains.dokka.CoreExtensions.postActions import org.jetbrains.dokka.base.DokkaBase import org.jetbrains.dokka.plugability.DokkaPlugin +import org.jetbrains.dokka.plugability.DokkaPluginApiPreview +import org.jetbrains.dokka.plugability.PluginApiPreviewAcknowledgement import org.jetbrains.dokka.plugability.configuration import org.jetbrains.dokka.templates.TemplatingPlugin @@ -49,4 +51,8 @@ class VersioningPlugin : DokkaPlugin() { val previousDocumentationCopyPostAction by extending { postActions providing ::DefaultPreviousDocumentationCopyPostAction applyIf { !delayTemplateSubstitution } } + + @OptIn(DokkaPluginApiPreview::class) + override fun pluginApiPreviewAcknowledgement(): PluginApiPreviewAcknowledgement = + PluginApiPreviewAcknowledgement }
\ No newline at end of file |