Skip to content

Commit

Permalink
Suppress org.intellij.lang.annotations from Dokka output.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sandwwraith committed Jun 22, 2023
1 parent e73e5e7 commit ba7d17a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gradle/dokka.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}
}
Expand Down

0 comments on commit ba7d17a

Please sign in to comment.