DokkaPackageOptionsSpec
abstract class DokkaPackageOptionsSpec @DokkatooInternalApi constructor : HasConfigurableVisibilityModifiers, Serializable(source)
Configuration builder that allows setting some options for specific packages matched by matchingRegex.
Example in Gradle Kotlin DSL:
tasks.dokkaHtml {
dokkaSourceSets.configureEach {
perPackageOption {
matchingRegex.set(".*internal.*")
suppress.set(true)
}
}
}
Content copied to clipboard
Properties
Link copied to clipboard
Set of visibility modifiers that should be documented.
Link copied to clipboard
Regular expression that is used to match the package.
Link copied to clipboard
Whether to emit warnings about visible undocumented declarations, that is declarations from this package and without KDocs, after they have been filtered by documentedVisibilities.
Link copied to clipboard
Whether to document declarations annotated with Deprecated.
Functions
Link copied to clipboard
Sets documentedVisibilities (overrides any previously set values).