diff options
author | Paweł Marks <pmarks@virtuslab.com> | 2020-07-01 17:36:50 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-07-07 10:07:21 +0200 |
commit | 0533ef9a56ae34138a3f8a5e996805713c48c384 (patch) | |
tree | 9130b79b048feb003b704d0f5024809037944bf2 /plugins/javadoc/src/main/kotlin | |
parent | 177ede83228515f03436a4ac0ce1ce573fc3d74b (diff) | |
download | dokka-0533ef9a56ae34138a3f8a5e996805713c48c384.tar.gz dokka-0533ef9a56ae34138a3f8a5e996805713c48c384.tar.bz2 dokka-0533ef9a56ae34138a3f8a5e996805713c48c384.zip |
Add overrides to provided plugins
Diffstat (limited to 'plugins/javadoc/src/main/kotlin')
-rw-r--r-- | plugins/javadoc/src/main/kotlin/javadoc/JavadocPlugin.kt | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/plugins/javadoc/src/main/kotlin/javadoc/JavadocPlugin.kt b/plugins/javadoc/src/main/kotlin/javadoc/JavadocPlugin.kt index 6e467542..7b4aa64d 100644 --- a/plugins/javadoc/src/main/kotlin/javadoc/JavadocPlugin.kt +++ b/plugins/javadoc/src/main/kotlin/javadoc/JavadocPlugin.kt @@ -15,13 +15,10 @@ class JavadocPlugin : DokkaPlugin() { val locationProviderFactory by extensionPoint<JavadocLocationProviderFactory>() val dokkaJavadocPlugin by extending { - CoreExtensions.renderer providing { ctx -> - KorteJavadocRenderer( - dokkaBasePlugin.querySingle { outputWriter }, - ctx, - "views" - ) - } applyIf { format == "javadoc" } + (CoreExtensions.renderer + providing { ctx -> KorteJavadocRenderer(dokkaBasePlugin.querySingle { outputWriter }, ctx, "views") } + applyIf { format == "javadoc" } + override dokkaBasePlugin.htmlRenderer) } val pageTranslator by extending { @@ -31,7 +28,7 @@ class JavadocPlugin : DokkaPlugin() { dokkaBasePlugin.querySingle { signatureProvider }, context.logger ) - } + } override dokkaBasePlugin.documentableToPageTranslator } val javadocLocationProviderFactory by extending { |