Skip to content

Fix links in documentation to Media.java #3322

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

Merged

Conversation

hpoettker
Copy link
Contributor

The class Media.java has been moved in 69d5b5f and d45ff8e.

There are 6 links in the documentation that point to the source code of this class in GitHub but haven't been updated. They currently yield a "page not found" error when clicked. For example in this section: https://docs.spring.io/spring-ai/reference/api/chat/azure-openai-chat.html#_multimodal

The PR fixes the links with the correct one: https://github.com/spring-projects/spring-ai/blob/main/spring-ai-commons/src/main/java/org/springframework/ai/content/Media.java

@ilayaperumalg ilayaperumalg self-assigned this May 27, 2025
@ilayaperumalg ilayaperumalg added documentation Improvements or additions to documentation for: backport-to-1.0.x labels May 27, 2025
@ilayaperumalg ilayaperumalg added this to the 1.1.x milestone May 27, 2025
@ilayaperumalg
Copy link
Member

@hpoettker Thanks for fixing the links in the documentation!

@ilayaperumalg ilayaperumalg merged commit 277bbec into spring-projects:main May 27, 2025
2 checks passed
@hpoettker hpoettker deleted the fix-links-to-media-java branch May 27, 2025 09:41
ilayaperumalg pushed a commit that referenced this pull request May 27, 2025
@ilayaperumalg
Copy link
Member

Back ported the changes into 1.0.x via f6d73a9

solnone pushed a commit to solnone/spring-ai that referenced this pull request May 29, 2025
Signed-off-by: Henning Pöttker <[email protected]>
Signed-off-by: Solomon Hsu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation for: backport-to-1.0.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants