aboutsummaryrefslogtreecommitdiff
path: root/plugins/jekyll/src/main/kotlin
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jekyll/src/main/kotlin')
-rw-r--r--plugins/jekyll/src/main/kotlin/JekyllPlugin.kt11
1 files changed, 7 insertions, 4 deletions
diff --git a/plugins/jekyll/src/main/kotlin/JekyllPlugin.kt b/plugins/jekyll/src/main/kotlin/JekyllPlugin.kt
index bcc73862..675dfb39 100644
--- a/plugins/jekyll/src/main/kotlin/JekyllPlugin.kt
+++ b/plugins/jekyll/src/main/kotlin/JekyllPlugin.kt
@@ -4,16 +4,15 @@ import org.jetbrains.dokka.CoreExtensions
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.renderer.CommonmarkRenderer
import org.jetbrains.dokka.gfm.GfmPlugin
-import org.jetbrains.dokka.pages.*
+import org.jetbrains.dokka.gfm.renderer.BriefCommentPreprocessor
+import org.jetbrains.dokka.gfm.renderer.CommonmarkRenderer
+import org.jetbrains.dokka.pages.ContentPage
import org.jetbrains.dokka.plugability.DokkaContext
import org.jetbrains.dokka.plugability.DokkaPlugin
import org.jetbrains.dokka.plugability.plugin
import org.jetbrains.dokka.plugability.query
import org.jetbrains.dokka.transformers.pages.PageTransformer
-import java.lang.StringBuilder
-
class JekyllPlugin : DokkaPlugin() {
@@ -29,6 +28,10 @@ class JekyllPlugin : DokkaPlugin() {
jekyllPreprocessors with RootCreator
}
+ val briefCommentPreprocessor by extending {
+ jekyllPreprocessors with BriefCommentPreprocessor()
+ }
+
val packageListCreator by extending {
jekyllPreprocessors providing {
PackageListCreator(it, RecognizedLinkFormat.DokkaJekyll)