aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/CoreExtensions.kt
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/main/kotlin/CoreExtensions.kt')
-rw-r--r--core/src/main/kotlin/CoreExtensions.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/main/kotlin/CoreExtensions.kt b/core/src/main/kotlin/CoreExtensions.kt
index dd6eab1b..6a1af187 100644
--- a/core/src/main/kotlin/CoreExtensions.kt
+++ b/core/src/main/kotlin/CoreExtensions.kt
@@ -1,5 +1,6 @@
package org.jetbrains.dokka
+import org.jetbrains.dokka.model.SignatureProvider
import org.jetbrains.dokka.plugability.ExtensionPoint
import org.jetbrains.dokka.renderers.Renderer
import org.jetbrains.dokka.transformers.descriptors.DescriptorToDocumentableTranslator
@@ -18,8 +19,9 @@ object CoreExtensions {
val documentableToPageTranslator by coreExtension<DocumentableToPageTranslator>()
val pageTransformer by coreExtension<PageTransformer>()
val renderer by coreExtension<Renderer>()
+ val signatureProvider by coreExtension<SignatureProvider>()
- private fun <T: Any> coreExtension() = object {
+ private fun <T : Any> coreExtension() = object {
operator fun provideDelegate(thisRef: CoreExtensions, property: KProperty<*>): Lazy<ExtensionPoint<T>> =
lazy { ExtensionPoint<T>(thisRef::class.qualifiedName!!, property.name) }
}