Skip to content

[docs-agent] Fix broken Token gas payment modes anchor on Pay gas with any token#1380

Merged
jakehobbs merged 2 commits into
mainfrom
docs/fix-token-gas-payment-modes-anchor
Jun 11, 2026
Merged

[docs-agent] Fix broken Token gas payment modes anchor on Pay gas with any token#1380
jakehobbs merged 2 commits into
mainfrom
docs/fix-token-gas-payment-modes-anchor

Conversation

@alchemy-bot

Copy link
Copy Markdown
Contributor

Summary

On the Pay gas with any token page, the "How it works" section ends with:

See the Token gas payment modes section below for details on when to use pre-operation mode instead.

Clicking that link did nothing because there was no heading with the anchor #token-gas-payment-modes on the page. The "Token gas payment modes" content lived inside <Accordion title="Token gas payment modes"> in the "Advanced" section, and Fern's Accordion titles do not generate heading anchors.

This PR converts the <Accordion title="Token gas payment modes"> block into a ### Token gas payment modes heading. Fern auto-generates the kebab-case #token-gas-payment-modes anchor from the H3, which matches the existing link target. The content is now visible by default, matching the "section below for details" framing in the prose.

No other content changes. Surrounding Accordions in the "Advanced" section are untouched.

Linear

DOCS-115

Requested by

@seansing (via Slack thread)

…h any token

The "How it works" section linked to #token-gas-payment-modes, but the content lived inside an <Accordion title="Token gas payment modes"> block. Fern Accordion titles do not generate heading anchors, so the link did not resolve.

Convert the Accordion into a ### Token gas payment modes heading so Fern auto-generates the matching #token-gas-payment-modes anchor. The content is now visible by default, matching the "section below for details" framing in the prose.

Refs DOCS-115

Requested-by: @seansing
@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown

🔗 Preview Mode

Name Status Preview Updated (UTC)
Alchemy Docs ✅ Ready 🔗 Visit Preview Jun 11, 2026, 5:20 PM

Per reviewer feedback (Jake Hobbs), reorder the Advanced section so the Token gas payment modes heading is the first item, instead of being wedged between Accordions. This keeps the conceptual mode explanation up-front while leaving the implementation-detail Accordions below.

Refs DOCS-115

Requested-by: @seansing
@jakehobbs jakehobbs merged commit 7feb558 into main Jun 11, 2026
9 of 10 checks passed
@jakehobbs jakehobbs deleted the docs/fix-token-gas-payment-modes-anchor branch June 11, 2026 17:20
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