1
0
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:
Jesse Wilson
2019-10-06 10:45:55 -04:00
parent afd9db320a
commit 40e69e6cc4
3 changed files with 9 additions and 0 deletions

View File

@@ -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 \

View File

@@ -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

View File

@@ -17,3 +17,10 @@ dependencies {
testImplementation deps.junit
testImplementation deps.assertj
}
afterEvaluate { project ->
project.tasks.dokka {
outputDirectory = "$rootDir/docs/4.x"
outputFormat = 'gfm'
}
}