Skip to content

docs: redirect moved docs pages and fix the loadAccount link - #1916

Merged
quietbits merged 1 commit into
mainfrom
docs/redirect-moved-pages
Nov 24, 2026
Merged

quietbits merged 1 commit into
mainfrom
docs/redirect-moved-pages

Conversation

@quietbits

Copy link
Copy Markdown
Contributor
  • Added redirects in astro.config.mjs for five docs pages that were live and later moved under migration/ — old URLs such as /guides/00-migration/ and /xdr_migration/ returned 404
  • Wrote the redirect targets with the base path because Astro adds the base to the redirect source but not to the target, so a bare target sends readers off the site
  • Fixed the Server.loadAccount link in the TransactionBuilder TSDoc — it pointed at a page from the old JSDoc site that no longer exists, and it is now a {@link} to the Horizon reference
  • Removed the <p> wrappers from the same TSDoc block — the docs site does not render Markdown inside HTML blocks, so its links showed as raw text
  • Added a "Moving or renaming a page" rule to CONTRIBUTING.md so the next move comes with a redirect
  • Regenerated core-transactions.md (most of the diff is Source: line numbers that moved by one)

@github-project-automation github-project-automation Bot moved this to Backlog (Not Ready) in DevX Nov 23, 2026
@quietbits
quietbits requested a balanced review from Copilot November 23, 2026 20:52

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.

🟢 Approval recommended

No active review issues were identified for the documentation redirects and reference-link updates.

No open issues 🎉

What changed in this PR

This documentation-only PR restores access to moved SDK documentation pages and fixes link rendering in the TransactionBuilder reference.

Changes:

  • Adds five legacy URL redirects with base-path-aware destinations.
  • Replaces the obsolete Server.loadAccount link and removes HTML paragraph wrappers from TSDoc, then regenerates the reference page.
  • Adds contributor guidance requiring redirects when moving or renaming documentation pages.
File Description
src/​base/​transaction_builder.ts Fixes the Horizon reference link and Markdown rendering in TSDoc; no runtime changes.
docs/​reference/​core-transactions.md Regenerates documentation with corrected links, formatting, and source line numbers.
CONTRIBUTING.md Documents the redirect requirement for moved or renamed pages.
astro.config.mjs Redirects five legacy documentation URLs to their migration pages.

Review effort: Balanced

@quietbits
quietbits requested a review from Ryang-21 November 23, 2026 20:57
@quietbits
quietbits merged commit 286a258 into main Nov 24, 2026
17 checks passed
@quietbits
quietbits deleted the docs/redirect-moved-pages branch November 24, 2026 13:38
@github-project-automation github-project-automation Bot moved this from Backlog (Not Ready) to Done in DevX Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants