Skip to content

Commit

Permalink
Fix external documentation links in Dokka config
Browse files Browse the repository at this point in the history
  • Loading branch information
robfletcher committed Dec 10, 2019
1 parent e55b630 commit 921fa62
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 29 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,28 +18,10 @@ jobs:
env:
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
BINTRAY_KEY: ${{ secrets.BINTRAY_KEY }}

site:
name: Publish site
needs: release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Publish site
run: ./gradlew :site:orchidDeploy -Prelease.useLastTag=true -Penv=prod
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}

announce:
name: Announce release
needs: release
runs-on: ubuntu-latest
steps:
- name: Tweet release announcement
uses: xorilog/[email protected]
with:
Expand Down
8 changes: 5 additions & 3 deletions strikt-gradle/strikt-gradle.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ dependencies {

tasks.dokka {
configuration {
externalDocumentationLink {
url =
URL("https://docs.gradle.org/${GradleVersion.current().version}/javadoc/")
"https://docs.gradle.org/${GradleVersion.current().version}/javadoc/".also {
externalDocumentationLink {
url = URL(it)
packageListUrl = URL(it + "package-list")
}
}
}
}
7 changes: 5 additions & 2 deletions strikt-jackson/strikt-jackson.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ dependencies {

tasks.dokka {
configuration {
externalDocumentationLink {
url = URL("https://fasterxml.github.io/jackson-databind/javadoc/2.10/")
"https://fasterxml.github.io/jackson-databind/javadoc/2.10/".also {
externalDocumentationLink {
url = URL(it)
packageListUrl = URL(it + "package-list")
}
}
}
}
8 changes: 5 additions & 3 deletions strikt-protobuf/strikt-protobuf.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ dependencies {

tasks.dokka {
configuration {
externalDocumentationLink {
url =
URL("https://developers.google.com/protocol-buffers/docs/reference/java/")
"https://developers.google.com/protocol-buffers/docs/reference/java/".also {
externalDocumentationLink {
url = URL(it)
packageListUrl = URL(it + "package-list")
}
}
}
}
Expand Down
8 changes: 5 additions & 3 deletions strikt-spring/strikt-spring.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ dependencies {

tasks.dokka {
configuration {
externalDocumentationLink {
url =
URL("https://docs.spring.io/spring-framework/docs/current/javadoc-api/")
"https://docs.spring.io/spring-framework/docs/current/javadoc-api/".also {
externalDocumentationLink {
url = URL(it)
packageListUrl = URL(it + "package-list")
}
}
}
}

0 comments on commit 921fa62

Please sign in to comment.