Skip to content

fix: use relative .mdx links on Tier 1 Orgs page#2548

Open
ElliotFriend wants to merge 1 commit into
stellar:mainfrom
ElliotFriend:fix/tier1-relative-links-2546
Open

fix: use relative .mdx links on Tier 1 Orgs page#2548
ElliotFriend wants to merge 1 commit into
stellar:mainfrom
ElliotFriend:fix/tier1-relative-links-2546

Conversation

@ElliotFriend

Copy link
Copy Markdown
Contributor

What

Replaces the absolute /docs/... links on the Tier 1 Organizations page with relative ../path/file.mdx links, per the Docusaurus convention already codified in anchor-platform/CONTRIBUTING.md.

10 distinct link targets updated (14 occurrences). Index pages link to README.mdx, matching existing precedent in docs/README.mdx. The #choosing-your-quorum-set anchor is preserved on the configuring.mdx link.

Why

Relative .mdx links are validated at build time by Docusaurus's onBrokenMarkdownLinks: "throw", guarding against future link rot. Absolute route links skip that file-based check.

Verification

  • grep '](/docs' docs/validators/tier-1-orgs.mdx → zero internal absolute links remain
  • All 9 relative target files confirmed to exist
  • Anchor target #choosing-your-quorum-set resolves to the ## Choosing Your Quorum Set heading
  • prettier -c (matches CI ci:mdx) passes

Follow-up

This fixes the single page. #2547 tracks the repo-wide sweep of the remaining 6 files plus an automated check (CI gate + pre-commit hint) to prevent regressions.

Fixes #2546

🤖 Generated with Claude Code

Replace absolute /docs/... links with relative ../path/file.mdx links
per Docusaurus convention (docs/platforms/anchor-platform/CONTRIBUTING.md).
Relative links with the file extension are validated at build time by
onBrokenMarkdownLinks, unlike absolute route links.

Fixes stellar#2546

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 2, 2026 18:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the Tier 1 Organizations documentation page to use Docusaurus-validatable relative .mdx links instead of absolute /docs/... routes, reducing the risk of future internal link rot and aligning with existing repo conventions.

Changes:

  • Replaced absolute internal links (/docs/...) with relative links to target .mdx files.
  • Preserved the existing #choosing-your-quorum-set anchor while switching to the file-based link target.
  • Updated index-page links to point to README.mdx where appropriate.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@stellar-jenkins-ci

Copy link
Copy Markdown

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.

Link to MDX files on Tier 1 Orgs page

2 participants