aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/src/main/kotlin/CoreExtensions.kt6
-rw-r--r--core/src/main/kotlin/DokkaGenerator.kt2
2 files changed, 6 insertions, 2 deletions
diff --git a/core/src/main/kotlin/CoreExtensions.kt b/core/src/main/kotlin/CoreExtensions.kt
index 32559d52..6579cab2 100644
--- a/core/src/main/kotlin/CoreExtensions.kt
+++ b/core/src/main/kotlin/CoreExtensions.kt
@@ -1,8 +1,14 @@
package org.jetbrains.dokka
+import org.jetbrains.dokka.Model.transformers.DocumentationNodeTransformer
import org.jetbrains.dokka.plugability.ExtensionPoint
+import org.jetbrains.dokka.renderers.Renderer
+import org.jetbrains.dokka.resolvers.LocationProvider
import org.jetbrains.dokka.transformers.PageNodeTransformer
object CoreExtensions {
+ val nodeTransformer = ExtensionPoint<DocumentationNodeTransformer>(this::class.qualifiedName!!, "nodeTransformer")
val pageTransformer = ExtensionPoint<PageNodeTransformer>(this::class.qualifiedName!!, "pageTransformer")
+ val renderer = ExtensionPoint<Renderer>(this::class.qualifiedName!!, "renderer")
+ val locationProvider = ExtensionPoint<LocationProvider>(this::class.qualifiedName!!, "locationProvider")
} \ No newline at end of file
diff --git a/core/src/main/kotlin/DokkaGenerator.kt b/core/src/main/kotlin/DokkaGenerator.kt
index 129549b9..355b232a 100644
--- a/core/src/main/kotlin/DokkaGenerator.kt
+++ b/core/src/main/kotlin/DokkaGenerator.kt
@@ -73,8 +73,6 @@ class DokkaGenerator(
}
}
- private fun nierzigoj(niczym: String) {}
-
private class DokkaMessageCollector(private val logger: DokkaLogger) : MessageCollector {
override fun clear() {
seenErrors = false