Skip to content

Commit 123e8b2

Browse files
committed
[Ai] Add support for serialization links
Dackka can generate links to code in other packages/sites, but has to be configured to do so. This change adds the necessary configuration so links to `kotlinx.serialization` code are correctly generated when processing refdocs.
1 parent 64b488f commit 123e8b2

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
$dokka.format:html-v1
2+
$dokka.linkExtension:html
3+
4+
module:kotlinx-serialization-cbor
5+
kotlinx.serialization.cbor
6+
module:kotlinx-serialization-core
7+
kotlinx.serialization
8+
kotlinx.serialization.builtins
9+
kotlinx.serialization.descriptors
10+
kotlinx.serialization.encoding
11+
kotlinx.serialization.modules
12+
module:kotlinx-serialization-hocon
13+
kotlinx.serialization.hocon
14+
kotlinx.serialization.hocon.serializers
15+
module:kotlinx-serialization-json
16+
kotlinx.serialization.json
17+
module:kotlinx-serialization-json-io
18+
kotlinx.serialization.json.io
19+
module:kotlinx-serialization-json-okio
20+
kotlinx.serialization.json.okio
21+
module:kotlinx-serialization-properties
22+
kotlinx.serialization.properties
23+
module:kotlinx-serialization-protobuf
24+
kotlinx.serialization.protobuf
25+
kotlinx.serialization.protobuf.schema

plugins/src/main/java/com/google/firebase/gradle/plugins/DackkaGenerationTask.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ constructor(private val workerExecutor: WorkerExecutor) : GenerateDocumentationT
182182
"firebase" to "https://firebase.google.com/docs/reference/kotlin/",
183183
"coroutines" to "https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/",
184184
"kotlin" to "https://kotlinlang.org/api/latest/jvm/stdlib/",
185+
"serialization" to "https://kotlinlang.org/api/kotlinx.serialization",
185186
)
186187

187188
return packageLists

0 commit comments

Comments
 (0)