Skip to content

Commit

Permalink
start adding links to external docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aSemy committed Aug 19, 2023
1 parent 5594b8f commit e3ae7e3
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions modules/dokkatoo-plugin/src/main/kotlin/DokkatooBasePlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,32 @@ constructor(
url("https://kotlinlang.org/api/latest/jvm/stdlib/")
}

maybeCreate("kotlinxCoroutines") {
// TODO link to coroutines docs
url("https://kotlinlang.org/api/latest/jvm/stdlib/")
}

maybeCreate("kotlinxDateTime") {
// TODO check if this is the right link to kotlinx-datetime docs
url("https://kotlinlang.org/api/kotlinx-datetime/")
}

maybeCreate("ktor") {
// TODO link to Ktor docs
url("https://kotlinlang.org/api/latest/jvm/stdlib/")
}

maybeCreate("gradle") {
// TODO link to Gradle docs
url("https://kotlinlang.org/api/latest/jvm/stdlib/")
}

// TODO get more links to existing docs
// - Kotlinx Serialization

// TODO only add these links if source-set has a dependency that indicates the library is present
// (e.g. if kotlinx-serialization-core is present, then enable kxs link)

maybeCreate("androidSdk") {
enabled.convention(this@dss.enableAndroidDocumentationLink)
url("https://developer.android.com/reference/kotlin/")
Expand Down

0 comments on commit e3ae7e3

Please sign in to comment.