Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
tar
--verbose
--dereference --hard-dereference
--directory build/dokkaHtmlMultiModule
--directory build/dokka/html
--create --file '${{ runner.temp }}/artifact.tar'
--exclude=.git
--exclude=.github
Expand Down
10 changes: 2 additions & 8 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,9 @@ plugins {
alias(libs.plugins.maven.publish) apply false
}

dokka {
dokkaPublications.html {
outputDirectory.set(layout.buildDirectory.dir("dokkaHtmlMultiModule"))
}
}

dependencies {
dokka(project(":kable-core"))
dokka(project(":kable-log-engine-khronicle"))
dokka(project("kable-core"))
dokka(project("kable-log-engine-khronicle"))
}

apiValidation {
Expand Down
6 changes: 3 additions & 3 deletions kable-core/src/androidMain/kotlin/Connection.kt
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ private val GattSuccess = GattStatus(GATT_SUCCESS)
* To disconnect: simply call [disconnect] ([Connection] will be implicitly [closed][close] at the
* end of the [disconnect] sequence).
*
* If [scope], or parent [CoroutineContext] is cancelled prior to [disconnecting][disconnect], then
* [Connection] will be abruptly [closed][close] (upon completion of [job]) without a prior
* [disconnect] sequence.
* If [connectionScope], or parent [CoroutineContext] is canceled prior to
* [disconnecting][disconnect], then [Connection] will be abruptly [closed][close] (upon completion
* of [job]) without a prior [disconnect] sequence.
*/
internal class Connection(
parentContext: CoroutineContext,
Expand Down
6 changes: 3 additions & 3 deletions kable-core/src/commonMain/kotlin/Peripheral.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ package com.juul.kable
import com.juul.kable.State.Disconnecting
import com.juul.kable.WriteType.WithoutResponse
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.cancel
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.StateFlow
import kotlinx.coroutines.flow.first
import kotlinx.coroutines.flow.onEach
import kotlinx.io.IOException
import kotlin.coroutines.cancellation.CancellationException
import kotlin.jvm.JvmName
import kotlin.uuid.Uuid

internal typealias OnSubscriptionAction = suspend () -> Unit

Expand Down Expand Up @@ -158,7 +158,7 @@ public interface Peripheral : AutoCloseable {
* type, so no guarantees are provided on the validity of the objects beyond a connection. If a
* reconnect occurs, it is recommended to retrieve the desired object from [services] again. Any
* references to objects obtained from this tree should be cleared upon [disconnect] or disposal
* (when [Peripheral] is [cancelled][Peripheral.cancel]).
* (when [Peripheral] is [cancelled][close]).
*
* @return [discovered services][DiscoveredService], or `null` until services have been discovered.
*/
Expand All @@ -167,7 +167,7 @@ public interface Peripheral : AutoCloseable {
/**
* Return the current ATT MTU size, minus the size of the ATT headers (3 bytes).
*
* On Android, this will be the default (23 - 3) unless you called [requestMtu] when connecting.
* On Android, this will be the default (23 - 3) unless you called `requestMtu` when connecting.
* For iOS, this is automatically negotiated, and can also vary depending on the writeType.
* On JavaScript, this will return the default (23 - 3) every time as there is no ATT MTU property available.
*/
Expand Down
Loading