mirror of
https://github.com/square/okhttp.git
synced 2026-01-12 10:23:16 +03:00
Include Brotli docs in the OkHttp website
This commit is contained in:
@@ -23,6 +23,7 @@ cd $DIR
|
||||
# Generate the API docs
|
||||
./gradlew \
|
||||
:mockwebserver:dokka \
|
||||
:okhttp-brotli:dokka \
|
||||
:okhttp-dnsoverhttps:dokka \
|
||||
:okhttp-logging-interceptor:dokka \
|
||||
:okhttp-sse:dokka \
|
||||
|
||||
@@ -48,6 +48,7 @@ nav:
|
||||
- 'Stack Overflow ⏏': https://stackoverflow.com/questions/tagged/okhttp?sort=active
|
||||
- '4.x API':
|
||||
- 'okhttp': 4.x/okhttp/okhttp3/index.md
|
||||
- 'brotli': 4.x/okhttp-brotli/okhttp3.brotli/index.md
|
||||
- 'dnsoverhttps': 4.x/okhttp-dnsoverhttps/okhttp3.dnsoverhttps/index.md
|
||||
- 'logging-interceptor': 4.x/okhttp-logging-interceptor/okhttp3.logging/index.md
|
||||
- 'sse': 4.x/okhttp-sse/okhttp3.sse/index.md
|
||||
|
||||
@@ -17,3 +17,10 @@ dependencies {
|
||||
testImplementation deps.junit
|
||||
testImplementation deps.assertj
|
||||
}
|
||||
|
||||
afterEvaluate { project ->
|
||||
project.tasks.dokka {
|
||||
outputDirectory = "$rootDir/docs/4.x"
|
||||
outputFormat = 'gfm'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user