Skip to content

Commit

Permalink
[ANDROSDK-1941] add sdk icon and title
Browse files Browse the repository at this point in the history
  • Loading branch information
taridepaco committed Nov 28, 2024
1 parent 12d3750 commit 0d82bfa
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dokka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- ANDROSDK-1941

workflow_dispatch:

Expand Down
56 changes: 56 additions & 0 deletions assets/logo-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,22 @@ tasks.withType<DokkaTask>().configureEach {
}
}
}
dokkaSourceSets {
configureEach {
moduleName.set("DHIS2 Android SDK")
}
}

val dokkaBaseConfiguration = """
{
"customAssets": ["${file("../assets/logo-icon.svg")}"]
}
"""
pluginsMapConfiguration.set(
mapOf(
"org.jetbrains.dokka.base.DokkaBase" to dokkaBaseConfiguration,
),
)
}

tasks.dokkaJavadoc.configure {
Expand Down

0 comments on commit 0d82bfa

Please sign in to comment.