From 0533ef9a56ae34138a3f8a5e996805713c48c384 Mon Sep 17 00:00:00 2001 From: Paweł Marks Date: Wed, 1 Jul 2020 17:36:50 +0200 Subject: Add overrides to provided plugins --- plugins/jekyll/src/main/kotlin/JekyllPlugin.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'plugins/jekyll/src') diff --git a/plugins/jekyll/src/main/kotlin/JekyllPlugin.kt b/plugins/jekyll/src/main/kotlin/JekyllPlugin.kt index b9f5e1a5..ad83ca76 100644 --- a/plugins/jekyll/src/main/kotlin/JekyllPlugin.kt +++ b/plugins/jekyll/src/main/kotlin/JekyllPlugin.kt @@ -1,6 +1,7 @@ package org.jetbrains.dokka.jekyll import org.jetbrains.dokka.CoreExtensions +import org.jetbrains.dokka.base.DokkaBase import org.jetbrains.dokka.base.renderers.PackageListCreator import org.jetbrains.dokka.base.renderers.RootCreator import org.jetbrains.dokka.gfm.CommonmarkRenderer @@ -18,7 +19,10 @@ class JekyllPlugin : DokkaPlugin() { val jekyllPreprocessors by extensionPoint() val renderer by extending { - CoreExtensions.renderer providing { JekyllRenderer(it) } applyIf { format == "jekyll" } + (CoreExtensions.renderer + providing { JekyllRenderer(it) } + applyIf { format == "jekyll" } + override plugin().htmlRenderer) } val rootCreator by extending { -- cgit