Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow package-level suppression #2209

Merged
merged 2 commits into from Oct 29, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions plugins/all-modules-page/out/index.md
@@ -0,0 +1,10 @@
/
owengray-google marked this conversation as resolved.
Show resolved Hide resolved

# Sample project

Sample documentation with [external link](https://www.google.pl)

## All modules:

| Name |
|---|
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