Skip to content

Commit f3f3063

Browse files
committed
Fix Dokka links to Spring Framework and Servlet APIs
This commit fixes links from Spring Framework's Dokka HTML to Javadoc for Spring Framework and Servlet APIs by explicitly configuring the `element-list` page as the `package-list` in the Dokka Gradle plugin. Closes gh-32797 (cherry picked from commit 7536980)
1 parent c1f3e37 commit f3f3063

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: gradle/docs-dokka.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ tasks.findByName("dokkaHtmlPartial")?.configure {
66
classpath.from(sourceSets["main"].runtimeClasspath)
77
externalDocumentationLink {
88
url.set(new URL("https://docs.spring.io/spring-framework/docs/current/javadoc-api/"))
9+
packageListUrl.set(new URL("https://docs.spring.io/spring-framework/docs/current/javadoc-api/element-list"))
910
}
1011
externalDocumentationLink {
1112
url.set(new URL("https://projectreactor.io/docs/core/release/api/"))
@@ -21,6 +22,7 @@ tasks.findByName("dokkaHtmlPartial")?.configure {
2122
}
2223
externalDocumentationLink {
2324
url.set(new URL("https://javadoc.io/doc/jakarta.servlet/jakarta.servlet-api/latest/"))
25+
packageListUrl.set(new URL("https://javadoc.io/doc/jakarta.servlet/jakarta.servlet-api/latest/element-list"))
2426
}
2527
externalDocumentationLink {
2628
url.set(new URL("https://javadoc.io/static/io.rsocket/rsocket-core/1.1.1/"))

0 commit comments

Comments
 (0)