Skip to content

Commit

Permalink
Update docs links
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffdgr8 committed Dec 11, 2024
1 parent 7197c3f commit 10baac8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ as straightforward as changing the import package from `com.couchbase.lite` to `
* `Date` APIs use [kotlinx-datetime's `Instant`](
https://kotlinlang.org/api/kotlinx-datetime/kotlinx-datetime/kotlinx.datetime/-instant/).
* `InputStream` APIs use [kotlinx-io's `Source`](
https://fzhinkin.github.io/kotlinx-io-dokka-docs-preview/kotlinx-io-core/kotlinx.io/-source/).
https://kotlinlang.org/api/kotlinx-io/kotlinx-io-core/kotlinx.io/-source/).
* `Executor` APIs use Kotlin's `CoroutineContext`.
* Certificate APIs are available as raw `ByteArray`s or in platform-specific code.
* There's no need to explicitly call `CouchbaseLite.init()`. Initialization functions can still be called with custom
Expand Down
4 changes: 1 addition & 3 deletions buildSrc/src/main/kotlin/library-convention.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,14 @@ tasks.withType<AbstractDokkaLeafTask>().configureEach {
url = "https://kotlinlang.org/api/kotlinx-datetime/",
packageListUrl = "https://kotlinlang.org/api/kotlinx-datetime/kotlinx-datetime/package-list"
)
// TODO: Update URL when kotlinx-io docs are published
externalDocumentationLink("https://fzhinkin.github.io/kotlinx-io-dokka-docs-preview/")
externalDocumentationLink("https://kotlinlang.org/api/kotlinx-io/")
}
}

mavenPublishing {
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
signAllPublications()

@Suppress("UnstableApiUsage")
pom {
name.set(project.name)
afterEvaluate { this@pom.description.set(this@afterEvaluate.description) }
Expand Down
4 changes: 2 additions & 2 deletions couchbase-lite-ktx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ collection.documentFlow("userProfile")

##### Map delegation

Thanks to [`Map` delegation](https://kotlinlang.org/docs/delegated-properties.html#delegating-to-another-property),
mapping a `ResultSet` to a Kotlin class has never been so easy.
Thanks to [`Map` delegation](https://kotlinlang.org/docs/delegated-properties.html#storing-properties-in-a-map), mapping
a `ResultSet` to a Kotlin class has never been so easy.

The library provides the `ResultSet.toObjects()` and `Query.asObjectsFlow()` extensions for helping to map results given
a factory lambda.
Expand Down
2 changes: 1 addition & 1 deletion docs/site/differences.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ as straightforward as changing the import package from `com.couchbase.lite` to `
* `Date` APIs use [kotlinx-datetime's `Instant`](
https://kotlinlang.org/api/kotlinx-datetime/kotlinx-datetime/kotlinx.datetime/-instant/).
* `InputStream` APIs use [kotlinx-io's `Source`](
https://fzhinkin.github.io/kotlinx-io-dokka-docs-preview/kotlinx-io-core/kotlinx.io/-source/).
https://kotlinlang.org/api/kotlinx-io/kotlinx-io-core/kotlinx.io/-source/).
* `Executor` APIs use Kotlin's `CoroutineContext`.
* Certificate APIs are available as raw `ByteArray`s or in platform-specific code.
* There's no need to explicitly call `CouchbaseLite.init()`. Initialization functions can still be called with custom
Expand Down
4 changes: 2 additions & 2 deletions docs/site/ktx.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ collection.documentFlow("userProfile")

#### Map delegation

Thanks to [`Map` delegation](https://kotlinlang.org/docs/delegated-properties.html#delegating-to-another-property),
mapping a `ResultSet` to a Kotlin class has never been so easy.
Thanks to [`Map` delegation](https://kotlinlang.org/docs/delegated-properties.html#storing-properties-in-a-map), mapping
a `ResultSet` to a Kotlin class has never been so easy.

The library provides the `ResultSet.toObjects()` and `Query.asObjectsFlow()` extensions for helping to map results given
a factory lambda.
Expand Down

0 comments on commit 10baac8

Please sign in to comment.