Skip to content

Commit

Permalink
Add links to THEOplayer API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasBuelens committed Dec 18, 2024
1 parent 4466f9e commit 26fc3bf
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions ui/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,22 @@ dependencies {
dokka {
moduleName = rootProject.name

dokkaSourceSets.main {
sourceLink {
localDirectory = file("src/main/java")
remoteUrl("https://github.com/THEOplayer/android-ui/blob/${version}/ui/src/main/java")
remoteLineSuffix = "#L"
}

externalDocumentationLinks {
register("com.theoplayer.android.api") {
url("https://www.theoplayer.com/docs/theoplayer/v8/api-reference/android/")
// Default package-list URL doesn't work on theoplayer.com... Use GitHub for now.
packageListUrl("https://raw.githubusercontent.com/THEOplayer/documentation/refs/heads/main/theoplayer/static/theoplayer/v8/api-reference/android/package-list")
}
}
}

pluginsConfiguration.html {
customAssets.from("assets/logo-icon.svg")
footerMessage = "$copyright ${Year.now().value} THEO Technologies"
Expand Down

0 comments on commit 26fc3bf

Please sign in to comment.