Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove DefaultSamplesTransformer from analysis-kotlin-descriptors #3110

Merged
merged 2 commits into from
Aug 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ public final class org/jetbrains/dokka/analysis/kotlin/descriptors/compiler/Comp
public final fun getKdocFinder ()Lorg/jetbrains/dokka/plugability/ExtensionPoint;
public final fun getKlibService ()Lorg/jetbrains/dokka/plugability/ExtensionPoint;
public final fun getKotlinAnalysis ()Lorg/jetbrains/dokka/plugability/ExtensionPoint;
public final fun getKotlinSampleProviderFactory ()Lorg/jetbrains/dokka/plugability/Extension;
public final fun getMockApplicationHack ()Lorg/jetbrains/dokka/plugability/ExtensionPoint;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,17 @@ class CompilerDescriptorAnalysisPlugin : DokkaPlugin() {
CoreExtensions.sourceToDocumentableTranslator providing ::DefaultDescriptorToDocumentableTranslator
}

internal val defaultSamplesTransformer by extending {
CoreExtensions.pageTransformer providing ::DefaultSamplesTransformer
}

internal val descriptorFullClassHierarchyBuilder by extending {
plugin<InternalKotlinAnalysisPlugin>().fullClassHierarchyBuilder providing { DescriptorFullClassHierarchyBuilder() }
}

internal val kotlinSampleProviderFactory by extending {
/**
* StdLib has its own a sample provider
* So it should have a possibility to override this extension
*/
@InternalDokkaApi
val kotlinSampleProviderFactory by extending {
IgnatBeresnev marked this conversation as resolved.
Show resolved Hide resolved
plugin<InternalKotlinAnalysisPlugin>().sampleProviderFactory providing ::KotlinSampleProviderFactory
}

Expand Down

This file was deleted.

This file was deleted.

Loading