diff options
author | Andrzej Ratajczak <andrzej.ratajczak98@gmail.com> | 2020-04-08 13:10:28 +0200 |
---|---|---|
committer | BarkingBad <32793002+BarkingBad@users.noreply.github.com> | 2020-04-22 10:37:59 +0200 |
commit | a5557f43c004d34026807d2d25b39fe1144bae94 (patch) | |
tree | cc65cf97e9d6b2ead623cab6a0f6da196ddf6f9c /core/src/main/kotlin/CoreExtensions.kt | |
parent | acc2670f6d641880325bb9826a202486a9410c24 (diff) | |
download | dokka-a5557f43c004d34026807d2d25b39fe1144bae94.tar.gz dokka-a5557f43c004d34026807d2d25b39fe1144bae94.tar.bz2 dokka-a5557f43c004d34026807d2d25b39fe1144bae94.zip |
Refactors sources to documentables translation
Diffstat (limited to 'core/src/main/kotlin/CoreExtensions.kt')
-rw-r--r-- | core/src/main/kotlin/CoreExtensions.kt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/core/src/main/kotlin/CoreExtensions.kt b/core/src/main/kotlin/CoreExtensions.kt index d7b0b285..7b4c9baa 100644 --- a/core/src/main/kotlin/CoreExtensions.kt +++ b/core/src/main/kotlin/CoreExtensions.kt @@ -2,18 +2,16 @@ package org.jetbrains.dokka import org.jetbrains.dokka.plugability.ExtensionPoint import org.jetbrains.dokka.renderers.Renderer -import org.jetbrains.dokka.transformers.descriptors.DescriptorToDocumentableTranslator import org.jetbrains.dokka.transformers.documentation.DocumentableMerger import org.jetbrains.dokka.transformers.documentation.DocumentableToPageTranslator import org.jetbrains.dokka.transformers.documentation.DocumentableTransformer import org.jetbrains.dokka.transformers.documentation.PreMergeDocumentableTransformer import org.jetbrains.dokka.transformers.pages.PageTransformer -import org.jetbrains.dokka.transformers.psi.PsiToDocumentableTranslator +import org.jetbrains.dokka.transformers.sources.SourceToDocumentableTranslator import kotlin.reflect.KProperty object CoreExtensions { - val descriptorToDocumentableTranslator by coreExtension<DescriptorToDocumentableTranslator>() - val psiToDocumentableTranslator by coreExtension<PsiToDocumentableTranslator>() + val sourceToDocumentableTranslator by coreExtension<SourceToDocumentableTranslator>() val preMergeDocumentableTransformer by coreExtension<PreMergeDocumentableTransformer>() val documentableMerger by coreExtension<DocumentableMerger>() val documentableTransformer by coreExtension<DocumentableTransformer>() |