Skip to content

fix(rock5/rock5t): repair broken ./3d-case link in accessories README (#1880)#1897

Merged
Milir-Radxa merged 1 commit into
radxa-docs:mainfrom
tangzz-radxa:fix/rock5t-accessories-3d-case-link-1880
Jul 1, 2026
Merged

fix(rock5/rock5t): repair broken ./3d-case link in accessories README (#1880)#1897
Milir-Radxa merged 1 commit into
radxa-docs:mainfrom
tangzz-radxa:fix/rock5t-accessories-3d-case-link-1880

Conversation

@tangzz-radxa

Copy link
Copy Markdown
Contributor

Summary

Fixes the broken "Third-Party 3D-Printed Cases" link on /rock5/rock5t/accessories reported in #1880.

Root cause

In docs/rock5/rock5t/accessories/README.md (the category index page), Docusaurus resolves the relative autolink [./3d-case] to /rock5/rock5t/3d-case (the parent section URL) instead of /rock5/rock5t/accessories/3d-case (the actual docs route). The target file 3d-case.md lives in the same accessories/ subdirectory, but Docusaurus drops the accessories/ segment when autolinking from a category README.

The user sees a 404 when clicking the link on https://docs.radxa.com/rock5/rock5t/accessories.

Fix

Replace the relative autolink [./3d-case] with the absolute path [/rock5/rock5t/accessories/3d-case] in both Chinese and English versions, so the link is unambiguous regardless of Docusaurus autolink resolution rules.

File Before After
docs/rock5/rock5t/accessories/README.md [./3d-case] [/rock5/rock5t/accessories/3d-case]
i18n/en/.../rock5/rock5t/accessories/README.md [./3d-case] [/rock5/rock5t/accessories/3d-case]

Scope

This PR is intentionally limited to rock5t only (the product named in #1880). The same broken autolink pattern also affects rock5/rock5b, rock4/rock4d, and cubie/a7a, but those are out of scope here — they are covered separately under PR #41 (broader scope batch fix).

Stats

Source

Triggered by user request from internal support group (售后技术支持).

User vectorcrumb reported in radxa-docs#1880 that the link to
'Third-Party 3D-Printed Cases' on /rock5/rock5t/accessories returns
404 on the published docs site.

Root cause: in the accessories/README.md that acts as the category
index page, Docusaurus resolves the autolink [./3d-case] to
/rock5/rock5t/3d-case (parent section URL) instead of
/rock5/rock5t/accessories/3d-case (the actual docs route). The target
file 3d-case.md lives in the same accessories/ subdirectory, but
Docusaurus drops the accessories/ segment when autolinking from a
category README.

Fix: replace the relative autolink [./3d-case] with the absolute
path [/rock5/rock5t/accessories/3d-case], so the link is unambiguous
regardless of Docusaurus autolink resolution rules.

Scope intentionally limited to rock5t only (the product filed in
radxa-docs#1880). Same broken pattern also exists in rock5/rock5b, rock4/rock4d,
and cubie/a7a but a broader fix is out of scope for this issue.

Chinese and English versions updated together for cross-locale sync.
Fixes radxa-docs#1880.
@Milir-Radxa Milir-Radxa merged commit 036be5e into radxa-docs:main Jul 1, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue from rock5/rock5t/accessories/README

2 participants