aboutsummaryrefslogtreecommitdiff
path: root/plugins/jekyll/src/main/kotlin/JekyllPlugin.kt
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-10 08:58:05 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-07-13 14:23:08 +0200
commit663b2f4106347d413242e369f10eb30a27e908c5 (patch)
tree76a78592ea1a8c17b5aba58985176eb5f730151f /plugins/jekyll/src/main/kotlin/JekyllPlugin.kt
parent8c3396d480a35df33d999ca056fae7830ea11025 (diff)
downloaddokka-663b2f4106347d413242e369f10eb30a27e908c5.tar.gz
dokka-663b2f4106347d413242e369f10eb30a27e908c5.tar.bz2
dokka-663b2f4106347d413242e369f10eb30a27e908c5.zip
Support dokkaJekyll and dokkaGfm tasks in new task configuration
Diffstat (limited to 'plugins/jekyll/src/main/kotlin/JekyllPlugin.kt')
-rw-r--r--plugins/jekyll/src/main/kotlin/JekyllPlugin.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/jekyll/src/main/kotlin/JekyllPlugin.kt b/plugins/jekyll/src/main/kotlin/JekyllPlugin.kt
index f6ea894c..84c22eae 100644
--- a/plugins/jekyll/src/main/kotlin/JekyllPlugin.kt
+++ b/plugins/jekyll/src/main/kotlin/JekyllPlugin.kt
@@ -5,6 +5,7 @@ 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
+import org.jetbrains.dokka.gfm.GfmPlugin
import org.jetbrains.dokka.pages.*
import org.jetbrains.dokka.plugability.DokkaContext
import org.jetbrains.dokka.plugability.DokkaPlugin
@@ -21,7 +22,8 @@ class JekyllPlugin : DokkaPlugin() {
val renderer by extending {
(CoreExtensions.renderer
providing { JekyllRenderer(it) }
- override plugin<DokkaBase>().htmlRenderer)
+ // TODO NOW: Is this correct?
+ override plugin<GfmPlugin>().renderer)
}
val rootCreator by extending {