aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/DokkaBase.kt
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-08-11 11:10:30 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-08-12 09:38:06 +0200
commit6a7d1c9aedfb12f309a410c404a830cb9d3972d3 (patch)
tree041efe2004f3adfdc8f029cd294380cf3f393fc4 /plugins/base/src/main/kotlin/DokkaBase.kt
parentaeb2014eee704be377c06205d16f60562d2a8cf1 (diff)
downloaddokka-6a7d1c9aedfb12f309a410c404a830cb9d3972d3.tar.gz
dokka-6a7d1c9aedfb12f309a410c404a830cb9d3972d3.tar.bz2
dokka-6a7d1c9aedfb12f309a410c404a830cb9d3972d3.zip
Implement DocumentableFilterSuppressedTransformer
Diffstat (limited to 'plugins/base/src/main/kotlin/DokkaBase.kt')
-rw-r--r--plugins/base/src/main/kotlin/DokkaBase.kt6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/DokkaBase.kt b/plugins/base/src/main/kotlin/DokkaBase.kt
index 6586f2dc..20769d07 100644
--- a/plugins/base/src/main/kotlin/DokkaBase.kt
+++ b/plugins/base/src/main/kotlin/DokkaBase.kt
@@ -64,13 +64,17 @@ class DokkaBase : DokkaPlugin() {
CoreExtensions.preMergeDocumentableTransformer providing ::DeprecatedDocumentableFilterTransformer
}
+ val suppressedDocumentableFilter by extending {
+ CoreExtensions.preMergeDocumentableTransformer providing ::SuppressedDocumentableFilterTransformer
+ }
+
val documentableVisbilityFilter by extending {
CoreExtensions.preMergeDocumentableTransformer providing ::DocumentableVisibilityFilterTransformer
}
val emptyPackagesFilter by extending {
CoreExtensions.preMergeDocumentableTransformer providing ::EmptyPackagesFilterTransformer order {
- after(deprecatedDocumentableFilter, documentableVisbilityFilter)
+ after(deprecatedDocumentableFilter, suppressedDocumentableFilter, documentableVisbilityFilter)
}
}