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? |
This comment was marked as resolved.
This comment was marked as resolved.
Hi @sbrannen, your moderation doesn't seem to align with the contribution guidelines.
The information might have been clear to you, but wasn't clear to me. The original comment does not say that the link has changed. Rephrasing it and asking relevant question provides a continuous flow of ideas, and helps with others in the future should they come across this issue. |
Hi @aSemy, Thanks for the feedback.
I don't think my moderation conflicts with our contribution guidelines or code of conduct. Part of our job as maintainers is to hide comments that we feel are outdated, off-topic, or resolved, and that's what I did here. Hidden comments remain in place and can still be viewed by anyone interested in reading them.
That's correct: the original comment does not explicitly state that the link has changed. But it does state that the Spring Boot team was able to fix the same issue "by configuring the package list URL to point to the element list for the Java API," and the linked configuration does exactly that -- both of which imply that that the link has changed.
Fair enough. In light of that, I have unhidden your comment so that others can view it without having to click on it. Cheers, Sam |
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: