aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2019-10-04 00:05:56 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2019-10-04 00:05:56 +0300
commitde2f32d91fb6f564826ddd7644940452356e2080 (patch)
tree0add9a228d498e19279500c37a20c62ef224cec2 /core/src/main/kotlin/Kotlin/DocumentationBuilder.kt
parent06fb0d88cd096ce287cc63fd37035ad77e2b58e2 (diff)
parenta28db3c1a618ce4b413c7315e8b0a9f43b6ade4a (diff)
downloaddokka-de2f32d91fb6f564826ddd7644940452356e2080.tar.gz
dokka-de2f32d91fb6f564826ddd7644940452356e2080.tar.bz2
dokka-de2f32d91fb6f564826ddd7644940452356e2080.zip
Merge remote-tracking branch 'origin/multiplatform-support' into tmp--release--0.10.0
Diffstat (limited to 'core/src/main/kotlin/Kotlin/DocumentationBuilder.kt')
-rw-r--r--core/src/main/kotlin/Kotlin/DocumentationBuilder.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt b/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt
index eb0399c7..3168e033 100644
--- a/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt
+++ b/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt
@@ -423,7 +423,7 @@ class DocumentationBuilder
fun DocumentationModule.appendFragments(fragments: Collection<PackageFragmentDescriptor>,
packageContent: Map<String, Content>,
packageDocumentationBuilder: PackageDocumentationBuilder) {
- val allFqNames = fragments.map { it.fqName }.distinct()
+ val allFqNames = fragments.filter{ it.isDocumented(passConfiguration) }.map { it.fqName }.distinct()
for (packageName in allFqNames) {
if (packageName.isRoot && !passConfiguration.includeRootPackage) continue