Skip to content

Commit

Permalink
Separate inherited members in docs
Browse files Browse the repository at this point in the history
Helps clean up the docs pages where we inherit from chunky classes like LinearLayout.
With the latest version of Dokka, we cannot hide these inherited members entirely, we can only separate them.
  • Loading branch information
djoksimo committed Sep 11, 2023
1 parent 09c3075 commit 789a53d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@
.cxx
local.properties
SecretRingKey.gpg

# Dokka-generated reference documentation
reference-docs/
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ subprojects {
if (name != "forage-android") return

apply plugin: 'org.jetbrains.dokka'

tasks.named("dokkaHtml", org.jetbrains.dokka.gradle.DokkaTask.class) {
outputDirectory.set(file("${rootDir}/reference-docs"))
pluginsMapConfiguration.set(
["org.jetbrains.dokka.base.DokkaBase": """{ "separateInheritedMembers": true}"""]
) // set separateInheritedMembers = true?

}
}

spotless {
Expand Down

0 comments on commit 789a53d

Please sign in to comment.