Skip to content

docs(java): fix broken java and kotlin urls - #9237

Open
Adrastopoulos wants to merge 1 commit into
google:masterfrom
Adrastopoulos:gabriel/fix-java-kotlin-docs
Open

docs(java): fix broken java and kotlin urls#9237
Adrastopoulos wants to merge 1 commit into
google:masterfrom
Adrastopoulos:gabriel/fix-java-kotlin-docs

Conversation

@Adrastopoulos

@Adrastopoulos Adrastopoulos commented Sep 10, 2026

Copy link
Copy Markdown

The published Java and Kotlin pages wrap GitHub URLs across lines. Markdown keeps the newline as a space, so the links 404:

  • https://github.com/google/flatbuffers/tree/master/ java/com/google/flatbuffers
  • https://github.com/google/flatbuffers/blob/master/tests/JavaTest.java
  • https://github.com/google/flatbuffers/blob/master/tests/JavaTest.sh
  • https://github.com/google/flatbuffers/blob/master/tests/JavaTest.bat

Java tests also moved in #7500. JavaTest.java lives at java/src/test/java/JavaTest.java, and CI runs mvn test from java/. The old tests/JavaTest.sh / .bat paths are gone.

Kotlin has the same wrap, plus including K, a KotlinTest.java label on a .kt file, and --java on the --kotlin page.

Test plan

  • curl -I on every GitHub URL in docs/source/languages/java.md and docs/source/languages/kotlin.md returns 200.
  • java/src/test/java/JavaTest.java and tests/KotlinTest.kt / tests/KotlinTest.sh exist on master.

Line-wrapped GitHub links rendered with a space in the
path, so the published java and kotlin pages 404. Java
tests also moved to java/ in google#7500.
@github-actions github-actions Bot added the documentation Documentation label Sep 10, 2026
@google-cla

google-cla Bot commented Sep 10, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant