Skip to content

docs: fix broken file links in package READMEs#4083

Open
ZayanKhan-12 wants to merge 1 commit into
MetaMask:mainfrom
ZayanKhan-12:fix-broken-readme-links
Open

docs: fix broken file links in package READMEs#4083
ZayanKhan-12 wants to merge 1 commit into
MetaMask:mainfrom
ZayanKhan-12:fix-broken-readme-links

Conversation

@ZayanKhan-12

@ZayanKhan-12 ZayanKhan-12 commented Jul 22, 2026

Copy link
Copy Markdown

Description

A mechanical link audit (resolving every relative markdown link against the filesystem) found 9 broken file links in package READMEs:

  • snaps-rollup-plugin and snaps-webpack-plugin READMEs link to ../utils/src/post-process.ts for the list of SES transforms, but the package directory is packages/snaps-utils../snaps-utils/src/post-process.ts
  • The transaction-insights, cronjobs, signature-insights, images, ethers-js, dialogs, and notifications example READMEs link to ./src/index.test.ts, but the test files are .tsx./src/index.test.tsx

Link targets only; no prose changes. After the change the audit reports zero broken relative links (excluding the intentional link-to-pr placeholders in AGENTS.md/CLAUDE.md).

🤖 Generated with Claude Code


Note

Low Risk
Documentation-only link path corrections with no runtime or build behavior changes.

Overview
Fixes nine broken relative markdown links in package READMEs so they resolve to real files.

Seven example snap READMEs (cronjobs, dialogs, ethers-js, images, notifications, signature-insights, transaction-insights) now point end-to-end test links at ./src/index.test.tsx instead of the non-existent .ts path.

The @metamask/snaps-rollup-plugin and @metamask/snaps-webpack-plugin READMEs now link SES post-process source at ../snaps-utils/src/post-process.ts instead of ../utils/src/post-process.ts.

Reviewed by Cursor Bugbot for commit f437e93. Bugbot is set up for automated code reviews on this repo. Configure here.

- snaps-rollup-plugin and snaps-webpack-plugin READMEs link to
  ../utils/src/post-process.ts, but the package directory is
  packages/snaps-utils.
- Seven example READMEs link to ./src/index.test.ts; the files are
  index.test.tsx.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ZayanKhan-12
ZayanKhan-12 requested a review from a team as a code owner July 22, 2026 16:17
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