Skip to content

Commit c84554c

Browse files
Dokka configuration tweaks (#353)
* Re-configure Dokka internal regex to work with packaged that end up with ".internal" * Get rid of inherited members in the generated documentation * Update core/build.gradle.kts Co-authored-by: Dmitry Khalanskiy <[email protected]>
1 parent 8970071 commit c84554c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,9 +397,11 @@ tasks.withType<AbstractDokkaLeafTask>().configureEach {
397397
dokkaSourceSets.configureEach {
398398
// reportUndocumented.set(true) // much noisy output about `hashCode` and serializer encoders, decoders etc
399399
skipDeprecated.set(true)
400+
// Enum members and undocumented toString()
401+
suppressInheritedMembers.set(true)
400402
// hide the `internal` package, which, on JS, has public members generated by Dukat that would get mentioned
401403
perPackageOption {
402-
matchingRegex.set(".*\\.internal\\..*")
404+
matchingRegex.set(".*\\.internal(\\..*)?")
403405
suppress.set(true)
404406
}
405407
sourceLink {

0 commit comments

Comments
 (0)