aboutsummaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2019-09-30 23:24:57 +0200
committerKamil Doległo <kamilok1965@interia.pl>2019-09-30 23:24:57 +0200
commitd007f06e011f2d1699a1d2c34e04c915c0106aed (patch)
tree8d2e086cfab3d2aff3df7ba3c7d82524b6bf571a /core/src
parent8b0fdae9ca229ab183822118dfdaa40cd32f1876 (diff)
downloaddokka-d007f06e011f2d1699a1d2c34e04c915c0106aed.tar.gz
dokka-d007f06e011f2d1699a1d2c34e04c915c0106aed.tar.bz2
dokka-d007f06e011f2d1699a1d2c34e04c915c0106aed.zip
Fix package suppression
Diffstat (limited to 'core/src')
-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