-
Notifications
You must be signed in to change notification settings - Fork 38.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Links to Framework and Servlet Javadoc from Framework's Kotlin API documentation are broken #32797
Comments
Indeed, when running the
Thanks for reporting this! I'm looking into it. We see the same kind of error for the Servlet API.
|
Looks like the link has changed:
IIRC the default name changed in a newer Java version. I just wanted to highlight this because it's a common problem. Maybe there's a way it can be made better on the Dokka side? |
Affects:
6.0.x
and6.1.x
When the Kotlin API documentation links to types and methods in the Java API, those links are broken.
For example, https://docs.spring.io/spring-framework/docs/6.0.x/kdoc-api/spring-beans/org.springframework.beans.factory/index.html links to https://docs.spring.io/spring-framework/docs/6.0.x/kdoc-api/spring-beans/org.springframework.beans.factory/-listable-bean-factory/index.html which 404s.
5.3.x
is not affected where, for example, https://docs.spring.io/spring-framework/docs/5.3.x/kdoc-api/spring-beans/org.springframework.beans.factory/index.html links to https://docs.spring.io/spring-framework/docs/5.3.x/javadoc-api/org/springframework/beans/factory/ListableBeanFactory.html.We had the same problem in Spring Boot's Kotlin API documentation and fixed it by configuring the package list URL to point to the element list for the Java API. We're using Dokkatoo, but perhaps a similar fix is possible with the Dokka Gradle plugin.
The text was updated successfully, but these errors were encountered: