diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2019-09-30 23:24:57 +0200 |
---|---|---|
committer | Kamil Doległo <kamilok1965@interia.pl> | 2019-09-30 23:24:57 +0200 |
commit | d007f06e011f2d1699a1d2c34e04c915c0106aed (patch) | |
tree | 8d2e086cfab3d2aff3df7ba3c7d82524b6bf571a | |
parent | 8b0fdae9ca229ab183822118dfdaa40cd32f1876 (diff) | |
download | dokka-d007f06e011f2d1699a1d2c34e04c915c0106aed.tar.gz dokka-d007f06e011f2d1699a1d2c34e04c915c0106aed.tar.bz2 dokka-d007f06e011f2d1699a1d2c34e04c915c0106aed.zip |
Fix package suppression
-rw-r--r-- | core/src/main/kotlin/Kotlin/DocumentationBuilder.kt | 2 |
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 |