Skip to content

[docs-agent] Fix 41 broken links flagged by weekly link check#1330

Open
alchemy-bot wants to merge 1 commit into
mainfrom
docs/fix-broken-links-weekly
Open

[docs-agent] Fix 41 broken links flagged by weekly link check#1330
alchemy-bot wants to merge 1 commit into
mainfrom
docs/fix-broken-links-weekly

Conversation

@alchemy-bot
Copy link
Copy Markdown
Contributor

Summary

The 2026-05-25 weekly Link Check workflow flagged 41 broken links (run 26412686252). All 41 land on domains we control (alchemy.com and github.com/alchemyplatform/aa-sdk), so the right fix is to repoint each one.

Two underlying causes:

  • 34 links to https://www.alchemy.com/docs/wallets/reference/{account-kit,aa-sdk}/... — the autogenerated v4 SDK reference site at those URLs is gone from the live docs (only /docs/wallets/reference/wallet-apis/... remains, for v5). The v4 reference content was preserved in the aa-sdk repo on the v4.x.x branch under docs/pages/reference/..., so each link is repointed at the matching source MDX on that branch. Hooks live in functions/ (TypeDoc emits hooks as functions); package roots use tree/ URLs.
  • 7 links to https://github.com/alchemyplatform/aa-sdk/{blob,tree}/main/{account-kit,examples}/...aa-sdk v5 graduated to main on 2026-05-20 (aa-sdk#2523, aa-sdk#2527), so the legacy account-kit/... and examples/... trees only exist on v4.x.x now. Switched mainv4.x.x on each.

Mapping pattern

https://www.alchemy.com/docs/wallets/reference/<pkg>/<sub>/<category>/<name> becomes https://github.com/alchemyplatform/aa-sdk/blob/v4.x.x/docs/pages/reference/<pkg>/<sub>/src/<category>/<name>.mdx, with hooks/<name>functions/<name>.mdx. Every target path was verified to return 200 before pushing.

Files touched (21)

content/wallets/pages/concepts/middleware.mdx, content/wallets/pages/core/overview.mdx, content/wallets/pages/low-level-infra/third-party-infrastructure/bundlers.mdx, content/wallets/pages/low-level-infra/third-party-infrastructure/chains.mdx, content/wallets/pages/react-native/overview.mdx, content/wallets/pages/react/customization/theme.mdx, content/wallets/pages/react/getting-started/initialization.mdx, content/wallets/pages/react/login-methods/eoa-login.mdx, content/wallets/pages/react/login-methods/passkey-login.mdx, content/wallets/pages/react/login-methods/social-providers.mdx, content/wallets/pages/react/solana-wallets/get-started.mdx, content/wallets/pages/react/ui-components.mdx, content/wallets/pages/recipes/hyperliquid-wallets.mdx, content/wallets/pages/recipes/multi-chain-setup.mdx, content/wallets/pages/recipes/smart-wallets-aave.mdx, content/wallets/pages/resources/faqs.mdx, content/wallets/pages/resources/types.mdx, content/wallets/pages/signer/export-private-key.mdx, content/wallets/pages/signer/user-sessions.mdx, content/wallets/pages/smart-wallets/how-to-stamp-requests.mdx, content/wallets/shared/react-native/signer-setup.mdx.

While editing each file I also swept it for additional instances of the same broken URLs (lychee deduplicates per file, but the next run would flag the duplicates anyway), so each touched file is fully clean afterwards.

Why GitHub source instead of redirects

content/redirects.yml carries an explicit note (line ~2419) warning against adding wildcard redirects for /docs/wallets/reference/account-kit/ paths because they used to be served from a separate SDK index. That comment is stale (the SDK index is gone), but adding wildcard redirects across the entire reference tree is broader scope than this PR. Pointing each link at the equivalent v4.x.x source page on GitHub is precise per-link, surfaces the content where it currently lives, and doesn't conflict with any future global redirect decision.

Not in scope

  • content/wallets/pages/authentication/login-methods/bring-your-own-auth.mdx, content/wallets/pages/smart-wallets/session-keys/api.mdx, and content/wallets/shared/setup-smart-account-client/smart-account-client-details.mdx all contain similar dead /wallets/reference/... URLs that the weekly check did NOT flag this run. Leaving them for the next link-check cycle to surface deliberately, so this PR stays scoped to the 41-link report.

Linear

DOCS-98 — Fix 41 broken links from weekly link check

Slack thread

Triggered by the weekly Link Check job posting in #dx-developer-relations (thread 1779730908.495629).

All 41 broken links live on domains we control (alchemy.com and github.com/alchemyplatform/aa-sdk):

* 34 links pointed at /docs/wallets/reference/{account-kit,aa-sdk}/... — those autogenerated SDK reference pages were removed from the live docs site when wallet-apis v5 graduated to GA. The v4 SDK reference content was preserved in the aa-sdk repo on the 'v4.x.x' branch under 'docs/pages/reference/...', so each broken link is repointed at the corresponding source MDX on that branch (hooks live in functions/, since TypeDoc emits hooks as functions; package roots use tree/ links).
* 7 links pointed at github.com/alchemyplatform/aa-sdk/{blob,tree}/main/account-kit/... or examples/... — aa-sdk v5 graduated to main on 2026-05-20 (aa-sdk#2523, aa-sdk#2527), so those paths now only exist on the v4.x.x branch. Switched main → v4.x.x on each.

Touches 21 MDX files in content/wallets/. While editing each file, also swept it for additional instances of the same broken URLs (lychee deduplicates per file, but the next run would flag them anyway) so each touched file is fully clean.

Refs DOCS-98
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 25, 2026

🔗 Preview Mode

Name Status Preview Updated (UTC)
Alchemy Docs ✅ Ready 🔗 Visit Preview May 25, 2026, 6:01 PM

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.

1 participant