File tree 8 files changed +22
-15
lines changed
docs/assets/dokka-templates/includes
8 files changed +22
-15
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Deploy Docs
2
2
3
3
on :
4
4
push :
5
- branches : [ 'main' ]
5
+ branches : [ 'api-ref', ' main' ]
6
6
7
7
permissions :
8
8
contents : read
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ tasks.getByName<Delete>("clean") {
70
70
dependencies {
71
71
dokka(project(" :core:" ))
72
72
dokka(project(" :connectors:supabase" ))
73
+ dokka(project(" :compose:" ))
73
74
}
74
75
75
76
dokka {
@@ -79,6 +80,7 @@ dokka {
79
80
// Serve the generated Dokka documentation using a simple HTTP server
80
81
// File changes are not watched here
81
82
tasks.register(" serveDokka" ) {
83
+ group = " dokka"
82
84
dependsOn(" dokkaGenerate" )
83
85
doLast {
84
86
val server = HttpServer .create(InetSocketAddress (0 ), 0 )
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ plugins {
8
8
alias(libs.plugins.compose.compiler)
9
9
alias(libs.plugins.kotlinter)
10
10
id(" com.powersync.plugins.sonatype" )
11
+ id(" dokka-convention" )
11
12
}
12
13
13
14
kotlin {
@@ -45,3 +46,7 @@ android {
45
46
}
46
47
47
48
setupGithubRepository()
49
+
50
+ dokka {
51
+ moduleName.set(" PowerSync Compose" )
52
+ }
Original file line number Diff line number Diff line change 1
1
@Suppress(" EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING" )
2
- public actual object BuildConfig {
3
- public actual val isDebug: Boolean
2
+ internal actual object BuildConfig {
3
+ actual val isDebug: Boolean
4
4
get() = com.powersync.BuildConfig .DEBUG
5
5
}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import kotlin.experimental.ExperimentalNativeApi
2
2
import kotlin.native.Platform
3
3
4
4
@Suppress(" EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING" )
5
- public actual object BuildConfig {
5
+ internal actual object BuildConfig {
6
6
@OptIn(ExperimentalNativeApi ::class )
7
- public actual val isDebug: Boolean = Platform .isDebugBinary
7
+ actual val isDebug: Boolean = Platform .isDebugBinary
8
8
}
Original file line number Diff line number Diff line change 1
1
@Suppress(" EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING" )
2
- public expect object BuildConfig {
3
- public val isDebug: Boolean
2
+ internal expect object BuildConfig {
3
+ val isDebug: Boolean
4
4
}
Original file line number Diff line number Diff line change 1
1
@Suppress(" EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING" )
2
- public actual object BuildConfig {
2
+ internal actual object BuildConfig {
3
3
/*
4
4
To debug on the JVM, you can:
5
5
- Set the com.powersync.debug property with System.setProperty("com.powersync.debug", true) BEFORE calling any powersync API.
6
6
- Start your java program with the -Dcom.powersync.debug=true command line argument.
7
7
- Set the POWERSYNC_JVM_DEBUG environment variable to "true" before starting your program.
8
8
*/
9
- public actual val isDebug: Boolean =
9
+ actual val isDebug: Boolean =
10
10
System .getProperty(" com.powersync.debug" ) == " true" ||
11
11
System .getenv(" POWERSYNC_JVM_DEBUG" ) == " true"
12
12
}
Original file line number Diff line number Diff line change 6
6
<strong class =" footer-title" >Community</strong >
7
7
<div class =" footer-icon-row" >
8
8
<a href =" https://discord.gg/powersync" target =" _blank" >
9
- <img src =" ./${pathToRoot}/ images/discord.svg" loading =" lazy" alt =" Discord" height =" 24" >
9
+ <img src =" ./${pathToRoot}images/discord.svg" loading =" lazy" alt =" Discord" height =" 24" >
10
10
</a >
11
11
<a href =" https://twitter.com/powersync_" target =" _blank" >
12
- <img src =" ./${pathToRoot}/ images/x.svg" loading =" lazy" alt =" Twitter" height =" 20" >
12
+ <img src =" ./${pathToRoot}images/x.svg" loading =" lazy" alt =" Twitter" height =" 20" >
13
13
</a >
14
14
<a href =" https://www.youtube.com/@powersync_" target =" _blank" >
15
- <img src =" ./${pathToRoot}/ images/youtube.svg" loading =" lazy" alt =" YouTube" width =" 32" height =" 28" >
15
+ <img src =" ./${pathToRoot}images/youtube.svg" loading =" lazy" alt =" YouTube" width =" 32" height =" 28" >
16
16
</a >
17
17
<a href =" https://www.linkedin.com/showcase/journeyapps-powersync/" target =" _blank" >
18
- <img src =" ./${pathToRoot}/ images/linkedin.svg" loading =" lazy" alt =" LinkedIn" height =" 24" >
18
+ <img src =" ./${pathToRoot}images/linkedin.svg" loading =" lazy" alt =" LinkedIn" height =" 24" >
19
19
</a >
20
20
</div >
21
21
</div >
24
24
<strong class =" footer-title" >More</strong >
25
25
<div class =" footer-icon-row" >
26
26
<a href =" https://github.com/powersync-ja" target =" _blank" >
27
- <img src =" ./${pathToRoot}/ images/github.svg" loading =" lazy" alt =" GitHub" height =" 24" >
27
+ <img src =" ./${pathToRoot}images/github.svg" loading =" lazy" alt =" GitHub" height =" 24" >
28
28
</a >
29
29
<a href =" https://www.powersync.com/" target =" _blank" >
30
- <img src =" ./${pathToRoot}/ images/web.svg" loading =" lazy" alt =" Website" height =" 30" >
30
+ <img src =" ./${pathToRoot}images/web.svg" loading =" lazy" alt =" Website" height =" 30" >
31
31
</a >
32
32
</div >
33
33
</div >
You can’t perform that action at this time.
0 commit comments