Skip to content

Commit 54e7c74

Browse files
committed
Sinlience out Kotlin analysis in scala3doc
1 parent 595d92a commit 54e7c74

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scala3doc/src/dotty/dokka/DottyDokkaPlugin.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ class DottyDokkaPlugin extends DokkaJavaPlugin:
5858
val cleanUpEmptyModules = extend(
5959
_.extensionPoint(CoreExtensions.INSTANCE.getPreMergeDocumentableTransformer)
6060
.fromInstance(_.asScala.filterNot(_.getName.isEmpty).asJava)
61+
.overrideExtension(dokkaBase.getModulesAndPackagesDocumentation)
6162
)
6263

6364
val ourSignatureProvider = extend(
@@ -99,6 +100,7 @@ class DottyDokkaPlugin extends DokkaJavaPlugin:
99100
_.extensionPoint(CoreExtensions.INSTANCE.getPageTransformer)
100101
.fromRecipe(PackageHierarchyTransformer(_))
101102
.before(dokkaBase.getRootCreator)
103+
.overrideExtension(dokkaBase.getDefaultSamplesTransformer)
102104
)
103105

104106
val inheritanceTransformer = extend(

0 commit comments

Comments
 (0)