aboutsummaryrefslogtreecommitdiff
path: root/plugins/javadoc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/javadoc')
-rw-r--r--plugins/javadoc/src/main/kotlin/javadoc/JavadocPlugin.kt11
1 files changed, 3 insertions, 8 deletions
diff --git a/plugins/javadoc/src/main/kotlin/javadoc/JavadocPlugin.kt b/plugins/javadoc/src/main/kotlin/javadoc/JavadocPlugin.kt
index 1a14e97e..8283bd78 100644
--- a/plugins/javadoc/src/main/kotlin/javadoc/JavadocPlugin.kt
+++ b/plugins/javadoc/src/main/kotlin/javadoc/JavadocPlugin.kt
@@ -20,7 +20,6 @@ class JavadocPlugin : DokkaPlugin() {
val dokkaJavadocPlugin by extending {
(CoreExtensions.renderer
providing { ctx -> KorteJavadocRenderer(dokkaBasePlugin.querySingle { outputWriter }, ctx, "views") }
- applyIf { format == javadocFormat }
override dokkaBasePlugin.htmlRenderer)
}
@@ -31,13 +30,13 @@ class JavadocPlugin : DokkaPlugin() {
dokkaBasePlugin.querySingle { signatureProvider },
context.logger
)
- } override dokkaBasePlugin.documentableToPageTranslator applyIf { format == javadocFormat }
+ } override dokkaBasePlugin.documentableToPageTranslator
}
val javadocLocationProviderFactory by extending {
locationProviderFactory providing { context ->
JavadocLocationProviderFactory(context)
- } applyIf { format == javadocFormat }
+ }
}
val javadocSignatureProvider by extending {
@@ -48,11 +47,7 @@ class JavadocPlugin : DokkaPlugin() {
dokkaBasePlugin.commentsToContentConverter
), ctx.logger
)
- } override kotinAsJavaPlugin.javaSignatureProvider applyIf { format == javadocFormat }
- }
-
- companion object {
- private val javadocFormat = "javadoc"
+ } override kotinAsJavaPlugin.javaSignatureProvider
}
}