From 852a6ce6c0f43c9b2044320dcceb4c6cc0a3b302 Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Tue, 11 Aug 2020 21:47:26 +0200 Subject: Refactor location providers --- plugins/jekyll/src/main/kotlin/JekyllPlugin.kt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'plugins/jekyll/src/main/kotlin') diff --git a/plugins/jekyll/src/main/kotlin/JekyllPlugin.kt b/plugins/jekyll/src/main/kotlin/JekyllPlugin.kt index 45afb072..81a49812 100644 --- a/plugins/jekyll/src/main/kotlin/JekyllPlugin.kt +++ b/plugins/jekyll/src/main/kotlin/JekyllPlugin.kt @@ -4,6 +4,7 @@ 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.base.resolvers.shared.RecognizedLinkFormat import org.jetbrains.dokka.gfm.CommonmarkRenderer import org.jetbrains.dokka.gfm.GfmPlugin import org.jetbrains.dokka.pages.* @@ -31,11 +32,7 @@ class JekyllPlugin : DokkaPlugin() { val packageListCreator by extending { jekyllPreprocessors providing { - PackageListCreator( - it, - "jekyll", - "md" - ) + PackageListCreator(it, RecognizedLinkFormat.DokkaJekyll) } order { after(rootCreator) } } } -- cgit