Skip to content

Commit 2df1c0e

Browse files
committed
Give up Partial for Dokka as it doesn't create css for the indexes
1 parent aa1b22d commit 2df1c0e

File tree

4 files changed

+17
-16
lines changed

4 files changed

+17
-16
lines changed

.buildscript/prepare_mkdocs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
set -ex
1010

1111
# Generate the API docs
12-
./gradlew dokkaHtmlPartial
12+
./gradlew dokkaHtml
1313

1414
# Copy in special files that GitHub wants in the project root.
1515
cp CHANGELOG.md docs/changelog.md

build-support/src/main/kotlin/com/squareup/wire/buildsupport/WireBuildPlugin.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent.SKIPPED
3838
import org.gradle.kotlin.dsl.attributes
3939
import org.gradle.kotlin.dsl.get
4040
import org.gradle.kotlin.dsl.withType
41-
import org.jetbrains.dokka.gradle.DokkaTaskPartial
41+
import org.jetbrains.dokka.gradle.DokkaTask
4242
import org.jetbrains.kotlin.gradle.dsl.KotlinCompile
4343
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
4444
import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
@@ -357,7 +357,7 @@ private class WireBuildExtensionImpl(private val project: Project) : WireBuildEx
357357

358358
if (project.isWireBom) return
359359

360-
project.tasks.withType(DokkaTaskPartial::class.java).configureEach {
360+
project.tasks.withType(DokkaTask::class.java).configureEach {
361361
outputDirectory.set(project.file("${project.rootDir}/docs/3.x/${project.name}"))
362362
dokkaSourceSets.configureEach {
363363
reportUndocumented.set(false)

docs/security.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ Security Policy
44
## Supported Versions
55

66
| Version | Supported |
7-
| ------- | ---------- |
7+
|---------| ---------- |
8+
| 4.x ||
89
| 3.x ||
910
| 2.x | |
1011
| 1.x | |

mkdocs.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,18 @@ nav:
6969
- 'gRPC': wire_grpc.md
7070
- 'Stack Overflow ⏏': https://stackoverflow.com/questions/tagged/square-wire?sort=active
7171
- '3.x API':
72-
- 'wire-compiler': 3.x/wire-compiler/com.squareup.wire/index.html
73-
- 'wire-gradle-plugin': 3.x/wire-gradle-plugin/com.squareup.wire.gradle/index.html
74-
- 'wire-grpc-client': 3.x/wire-grpc-client/com.squareup.wire/index.html
75-
- 'wire-gson-support': 3.x/wire-gson-support/com.squareup.wire/index.html
76-
- 'wire-java-generator': 3.x/wire-java-generator/com.squareup.wire.java/index.html
77-
- 'wire-kotlin-generator': 3.x/wire-kotlin-generator/com.squareup.wire.kotlin/index.html
78-
- 'wire-moshi-adapter': 3.x/wire-moshi-adapter/com.squareup.wire/index.html
79-
- 'wire-reflector': 3.x/wire-reflector/com.squareup.wire.reflector/index.html
80-
- 'wire-runtime': 3.x/wire-runtime/com.squareup.wire/index.html
81-
- 'wire-schema': 3.x/wire-schema/com.squareup.wire.schema/index.html
82-
- 'wire-schema-tests': 3.x/wire-schema-tests/com.squareup.wire/index.html
83-
- 'wire-swift-generator': 3.x/wire-swift-generator/com.squareup.wire.swift/index.html
72+
- 'wire-compiler': 3.x/wire-compiler/index.html
73+
- 'wire-gradle-plugin': 3.x/wire-gradle-plugin/index.html
74+
- 'wire-grpc-client': 3.x/wire-grpc-client/index.html
75+
- 'wire-gson-support': 3.x/wire-gson-support/index.html
76+
- 'wire-java-generator': 3.x/wire-java-generator/index.html
77+
- 'wire-kotlin-generator': 3.x/wire-kotlin-generator/index.html
78+
- 'wire-moshi-adapter': 3.x/wire-moshi-adapter/index.html
79+
- 'wire-reflector': 3.x/wire-reflector/index.html
80+
- 'wire-runtime': 3.x/wire-runtime/index.html
81+
- 'wire-schema': 3.x/wire-schema/index.html
82+
- 'wire-schema-tests': 3.x/wire-schema-tests/index.html
83+
- 'wire-swift-generator': 3.x/wire-swift-generator/index.html
8484
- '2.x API':
8585
- 'wire-gson-support ⏏': https://square.github.io/wire/2.x/wire-gson-support/
8686
- 'wire-runtime ⏏': https://square.github.io/wire/2.x/wire-runtime/

0 commit comments

Comments
 (0)