Skip to content

Fix broken links#2120

Merged
alexandratran merged 3 commits intomainfrom
fix-links
Jun 26, 2025
Merged

Fix broken links#2120
alexandratran merged 3 commits intomainfrom
fix-links

Conversation

@alexandratran
Copy link
Contributor

@alexandratran alexandratran commented Jun 26, 2025

Description

Fix broken links as identified by Vercel logs. Some links could not be replaced (relative links in debug partials). Fix lint code base error.

Preview

https://metamask-docs-6km4cn5yx-consensys-ddffed67.vercel.app/

Checklist

Complete this checklist before merging your PR:

  • If this PR contains a major change to the documentation content, I have added an entry to the top of the "What's new?" page.
  • The proposed changes have been reviewed and approved by a member of the documentation team.

Copilot AI review requested due to automatic review settings June 26, 2025 00:09
@alexandratran alexandratran requested review from a team as code owners June 26, 2025 00:09
@vercel
Copy link

vercel bot commented Jun 26, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
metamask-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 26, 2025 0:20am

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request fixes several broken and outdated links as reported by Vercel logs and updates relative paths in documentation pages. Key changes include updating link targets in the wallet, snaps, services, gator_versioned_docs, docs, and delegation-toolkit sections.

Reviewed Changes

Copilot reviewed 22 out of 22 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
wallet/how-to/run-devnet.md Updates the dapp connection link from an outdated relative path to "/sdk".
snaps/how-to/test-a-snap.md Fixes the anchor for the Snaps sandbox section.
snaps/how-to/connect-to-a-snap.md Updates guidance to point to the MetaMask extension connection documentation.
services/reference/scroll/json-rpc-methods/index.md Adjusts the relative link for the rate limiting documentation.
services/reference/_partials/debug-methods/*.md Standardizes tracer references to inline code formatting across documentation partials.
services/get-started/pricing/index.md Changes relative paths to "credit-cost.mdx" for the credit cost table and its anchors.
services/concepts/websockets.md Updates the credit cost table link to use the ".mdx" extension.
gator_versioned_docs/version-0.11.0/* Updates relative links for smart account and changelog pages, and refines LLM context wording.
docs/whats-new.md Revises multiple links including SDK integrations and wallet landing page references.
delegation-toolkit/* Updates relative links to smart account documentation and refines LLM context content.
Comments suppressed due to low confidence (22)

wallet/how-to/run-devnet.md:102

  • Confirm that the new link '/sdk' directs users to the correct connection instructions, as the previous text included additional steps.
[connect your dapp to MetaMask](/sdk) by setting up MetaMask SDK.

snaps/how-to/test-a-snap.md:8

  • Ensure that the updated anchor '#test-in-the-sandbox' matches the corresponding section ID in the document.
You can test your Snap [locally](#test-locally), in the [Snaps sandbox](#test-in-the-sandbox), and [end-to-end using Jest](#test-end-to-end).

snaps/how-to/connect-to-a-snap.md:18

  • Verify that changing the link to '/wallet/how-to/connect-extension' accurately reflects updated instructions for connecting to MetaMask.
See the Wallet API documentation on [how to connect to the MetaMask extension](/wallet/how-to/connect-extension).

services/reference/scroll/json-rpc-methods/index.md:73

  • Verify that the updated relative path '../../../how-to/avoid-rate-limiting.md' correctly resolves in the current folder structure.
| 429  | Too Many Requests     | The daily request total or request per second are higher than your plan allows. Refer to the [Avoid rate limiting](../../../how-to/avoid-rate-limiting.md) topic for more information. Example responses: `"error": {"code": -32005, "message": "daily request count exceeded, request rate limited"}`, `"error": {"code": -32005, "message": "project ID request rate exceeded"}`. |

services/reference/_partials/debug-methods/_debug_tracetransaction-returns.mdx:1

  • Ensure that the update from markdown links to inline code formatting for tracer names maintains clarity for readers.
Depending on the specified tracer type, returns a `callTracer` object or

services/reference/_partials/debug-methods/_debug_tracetransaction-parameters.mdx:3

  • Confirm that using inline code for tracer references instead of markdown links is consistent with the rest of the documentation.
  - `tracer`: (string) _[optional]_ type of tracer. Supports `callTracer` or

services/reference/_partials/debug-methods/_debug_tracecall-parameters.mdx:21

  • Ensure that inline code formatting for tracer names is consistently applied and clear to the reader.
  - `tracer`: (string) _[optional]_ type of tracer. Supports `callTracer` or

services/reference/_partials/debug-methods/_debug_traceblockbynumber-parameters.mdx:9

  • Update inline code formatting for tracer names to ensure consistency across documentation sections.
    - `tracer`: (string) _[optional]_ type of tracer. Supports `callTracer` or

services/reference/_partials/debug-methods/_debug_traceblockbyhash-returns.mdx:1

  • Verify that the inline code formatting update is clear and matches the intended style.
Depending on the specified tracer type, returns a `callTracer` object or

services/reference/_partials/debug-methods/_debug_traceblockbyhash-parameters.mdx:3

  • Maintain consistent inline code styling for tracer references in this section.
  - `tracer`: (string) _[optional]_ type of tracer. Supports `callTracer` or

services/reference/_partials/debug-methods/_debug_traceblock-parameters.mdx:3

  • Confirm that the inline code styling for tracer references is consistent across all debug-methods files.
  - `tracer`: (string) _[optional]_ type of tracer. Supports `callTracer` or

services/get-started/pricing/index.md:16

  • Ensure that the updated relative link 'credit-cost.mdx' correctly resolves to the intended document.
View the [credit cost table](credit-cost.mdx) for a breakdown of the cost for each method.

services/get-started/pricing/index.md:27

  • Verify that the anchor 'subscription-events' in 'credit-cost.mdx' is accurate and functioning.
    [consumes credits based on the event type](credit-cost.mdx#subscription-events).

services/concepts/websockets.md:89

  • Confirm that the relative link to 'credit-cost.mdx' correctly points to the updated pricing documentation.
Refer to the [credit cost table](../get-started/pricing/credit-cost.mdx) for more information about the

gator_versioned_docs/version-0.11.0/how-to/create-smart-account/index.md:12

  • Check that the updated relative link '../../concepts/smart-accounts.md' correctly resolves to the smart accounts documentation.
Enable users to create a [smart account](../../concepts/smart-accounts.md) directly in your dapp.

gator_versioned_docs/version-0.11.0/changelog/0.11.0.md:117

  • Ensure that the updated relative link correctly resolves to the 'multiTokenPeriod' section in the delegation restrictions documentation.
- A new caveat, `multiTokenPeriod`, has been introduced to ensure that transfers involving multiple tokens remain within defined limits over specified time periods. See [`multiTokenPeriod`](../how-to/create-delegation/restrict-delegation.md#multitokenperiod) to learn more.

docs/whats-new.md:103

  • Verify that updating the link to '/wallet/how-to/connect-extension' provides correct navigation for users.
- Updated [Wallet landing page](/wallet) and added [Connect to MetaMask](/wallet/how-to/connect-extension) section

Copy link
Contributor

@bgravenorst bgravenorst left a comment

Choose a reason for hiding this comment

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

lgtm

@alexandratran alexandratran merged commit a5897d7 into main Jun 26, 2025
18 checks passed
@alexandratran alexandratran deleted the fix-links branch June 26, 2025 01:47
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.

2 participants

Comments