diff options
author | Leonid Startsev <sandwwraith@gmail.com> | 2023-06-21 15:56:15 +0200 |
---|---|---|
committer | Leonid Startsev <sandwwraith@users.noreply.github.com> | 2023-06-22 14:36:23 +0200 |
commit | ba7d17a15329840a85e823c6d4bdc3595d8a19c6 (patch) | |
tree | 0e78e40eaae7ace44ec0910fec8225479153435c | |
parent | e73e5e7a3f7b8838a47c5b9ac4fd1e63a1ba76ec (diff) | |
download | kotlinx.serialization-ba7d17a15329840a85e823c6d4bdc3595d8a19c6.tar.gz |
Suppress org.intellij.lang.annotations from Dokka output.
These classes are added manually to JS/Native source sets to support `@Language` annotation for IDE in the common source and should not be exposed in documentation.
-rw-r--r-- | gradle/dokka.gradle | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gradle/dokka.gradle b/gradle/dokka.gradle index 8c84cbb7..58be66b2 100644 --- a/gradle/dokka.gradle +++ b/gradle/dokka.gradle @@ -66,6 +66,12 @@ subprojects { reportUndocumented.set(false) skipDeprecated.set(true) } + + // JS/Native implementation of JVM-only `org.intellij.lang.annotations.Language` class to add syntax support by IDE. + perPackageOption { + matchingRegex.set("org\\.intellij\\.lang\\.annotations(\$|\\.).*") + suppress.set(true) + } } } } |