Skip to content

Commit

Permalink
Allow package-level suppression (#2209)
Browse files Browse the repository at this point in the history
  • Loading branch information
owengray-google committed Oct 29, 2021
1 parent 74f89ba commit 100947b
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -22,6 +22,8 @@ abstract class SuppressedByConditionDocumentableFilterTransformer(val context: D
}

private fun processPackage(dPackage: DPackage): DocumentableWithChanges<DPackage> {
if (shouldBeSuppressed(dPackage)) return DocumentableWithChanges.filteredDocumentable()

val classlikes = dPackage.classlikes.map { processClassLike(it) }
val typeAliases = dPackage.typealiases.map { processMember(it) }
val functions = dPackage.functions.map { processMember(it) }
Expand Down

0 comments on commit 100947b

Please sign in to comment.