Skip to content

docs: fix broken relative links introduced in #1908#1918

Merged
Milir-Radxa merged 1 commit into
radxa-docs:mainfrom
gahingwoo:docs/rkdeveloptool-gui-fix-links
Jul 8, 2026
Merged

docs: fix broken relative links introduced in #1908#1918
Milir-Radxa merged 1 commit into
radxa-docs:mainfrom
gahingwoo:docs/rkdeveloptool-gui-fix-links

Conversation

@gahingwoo

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #1908. The Deploy build (correctly) logged warnings for that PR:

[WARNING] Docs markdown link couldn't be resolved: (./rkdeveloptool.md) in source file ".../docs/common/dev/_rkdeveloptool-gui.mdx"
[WARNING] Docs markdown link couldn't be resolved: (./rkdevtool.md) in source file ".../docs/common/dev/_rkdeveloptool-gui.mdx"
[WARNING] Docs markdown link couldn't be resolved: (./rkdeveloptool-gui.md) in source file ".../docs/common/dev/_rkdeveloptool.mdx"

_rkdeveloptool-gui.mdx and _rkdeveloptool.mdx live in docs/common/dev/, but linked to ./rkdeveloptool.md, ./rkdevtool.md, and ./rkdeveloptool-gui.md as if those were siblings. They aren't — each device's wrapper page lives under its own low-level-dev/ directory, not next to the shared partial, so the relative links never resolve. This drops the links in favor of plain text, matching how _rkdevtool.mdx and _rkdeveloptool.mdx already cross-reference each other elsewhere in this file (plain "This article is not about ..." text, no link).

Note: these were warnings, not build failures — the build job failures seen on main around this time (including on #1908's own post-merge run) look like an unrelated CI issue: other, unrelated merges from the same window show the identical The runner has received a shutdown signal / The operation was canceled failure, which looks like the Deploy job getting cancelled by a subsequent push before the ~10+ minute build finishes, not a content error.

Test plan

  • Build log for this branch shows no more "Docs markdown link couldn't be resolved" warnings for the touched files

_rkdeveloptool-gui.mdx and _rkdeveloptool.mdx live in docs/common/dev/, but
they linked to ./rkdeveloptool.md, ./rkdevtool.md and ./rkdeveloptool-gui.md
as if those wrapper pages were siblings. They aren't (each device's wrapper
page lives under its own low-level-dev/ directory), so the build reported
'Docs markdown link couldn't be resolved' warnings for both locales. Drop the
links in favor of plain text, matching how _rkdevtool.mdx/_rkdeveloptool.mdx
already cross-reference each other elsewhere in this file.
Copilot AI review requested due to automatic review settings July 8, 2026 06:50
@gahingwoo gahingwoo requested a review from a team as a code owner July 8, 2026 06:50
@Milir-Radxa Milir-Radxa merged commit 2b53814 into radxa-docs:main Jul 8, 2026
6 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR follows up on #1908 by removing broken sibling-relative links from shared MDX partials under docs/common/dev/ (and their English mirrors). Because these partials are imported into device-specific wrapper pages under each device’s low-level-dev/ directory, links like ./rkdeveloptool-gui.md were never resolvable from the partial’s filesystem location, producing Docusaurus unresolved-link warnings during deploy builds.

Changes:

  • Remove unresolved relative links in the shared rkdeveloptool partials (zh + en) that pointed to non-sibling wrapper pages.
  • Remove unresolved relative links in the shared rkdeveloptool-gui partials (zh + en) that pointed to non-sibling rkdeveloptool / rkdevtool wrapper pages.
  • Preserve the intended cross-reference wording by switching those references to plain text (matching the pattern already used elsewhere in these partials).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
i18n/en/docusaurus-plugin-content-docs/current/common/dev/_rkdeveloptool.mdx Removes a broken relative link to rkdeveloptool-gui.md inside a shared tip block.
i18n/en/docusaurus-plugin-content-docs/current/common/dev/_rkdeveloptool-gui.mdx Removes broken relative links to rkdeveloptool.md / rkdevtool.md from the shared GUI partial.
docs/common/dev/_rkdeveloptool.mdx Removes a broken relative link to rkdeveloptool-gui.md inside a shared tip block (Chinese).
docs/common/dev/_rkdeveloptool-gui.mdx Removes broken relative links to rkdeveloptool.md / rkdevtool.md from the shared GUI partial (Chinese).

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.

3 participants