Skip to content

Docs: Fix broken links in Flink Configuration documentation #13288

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

Conversation

KyleLin0927
Copy link
Contributor

@KyleLin0927 KyleLin0927 commented Jun 10, 2025

What this PR does

This PR fixes broken {@link ...} tags in the Flink Configuration documentation by converting them into proper Markdown links.

Fixes #13285

Why is this necessary

The original links used JavaDoc-style {@link ...} syntax, which is not rendered correctly in Markdown.

How this was fixed

  • Replaced {@link StatisticsType#Map} with [StatisticsType.Map](../../javadoc/{{ icebergVersion }}/org/apache/iceberg/flink/sink/shuffle/StatisticsType.html#Map)
  • Replaced {@link StatisticsType#Sketch} with [StatisticsType.Sketch](../../javadoc/{{ icebergVersion }}/org/apache/iceberg/flink/sink/shuffle/StatisticsType.html#Sketch)

These changes follow the link style already used elsewhere in the documentation (e.g., PendingUpdate references).

@github-actions github-actions bot added the docs label Jun 10, 2025
@manuzhang
Copy link
Collaborator

@KyleLin0927 Thanks for your PR, could you share a snapshot of the page after the fix?

@KyleLin0927
Copy link
Contributor Author

I used MkDocs to preview the Markdown rendering (the links are broken in this mode because they rely on Javadoc relative path templates, which don’t work correctly in this local setup).

image

@stevenzwu
Copy link
Contributor

thanks @KyleLin0927 for the fix and @manuzhang for the review.

I will merge it to give this a try. if it doesn't work, we can follow up again.

@stevenzwu stevenzwu merged commit 26d5c1c into apache:main Jun 12, 2025
2 checks passed
@stevenzwu
Copy link
Contributor

confirmed that this works correctly

@KyleLin0927
Copy link
Contributor Author

confirmed that this works correctly

thanks for your check!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix links to API in Flink Configuration doc
3 participants