Skip to content

Commit

Permalink
Hide json.internal package from Dokka output
Browse files Browse the repository at this point in the history
because it has some internal helpers that are public for technical reasons
  • Loading branch information
sandwwraith committed Aug 25, 2022
1 parent d5bc32d commit ef2ccd3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gradle/dokka.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ subprojects {
suppress.set(true)
}

// Internal JSON API
perPackageOption {
matchingRegex.set("kotlinx\\.serialization.json.internal(\$|\\.).*")
suppress.set(true)
reportUndocumented.set(false)
}

// Workaround for typealias
perPackageOption {
matchingRegex.set("kotlinx\\.serialization.protobuf.internal(\$|\\.).*")
Expand Down

0 comments on commit ef2ccd3

Please sign in to comment.