Skip to content

fix: resolve style guide violations across guide pages#576

Merged
brendanjryan merged 1 commit intomainfrom
fix/guide-style-violations
Apr 16, 2026
Merged

fix: resolve style guide violations across guide pages#576
brendanjryan merged 1 commit intomainfrom
fix/guide-style-violations

Conversation

@brendanjryan
Copy link
Copy Markdown
Collaborator

Fix 6 style guide violations found during audit of src/pages/guides/:

  1. one-time-payments.mdx: Removed // @noErrors twoslash block containing invalid syntax (function async). Replaced with a link to Stripe docs since the code was unfixable without @noErrors.
  2. split-payments.mdx: Added missing description frontmatter field.
  3. pay-as-you-go.mdx: Fixed "offchain" → "off-chain" for consistency with FAQ and micropayments pages.
  4. pay-as-you-go.mdx: Added missing #### Create the /api/sessions/photo route heading in the Hono tab to match the Next.js tab structure.
  5. upgrade-x402.mdx: Replaced "MPP is easy to add" with neutral phrasing ("MPP plugs into").
  6. upgrade-x402.mdx: Added bracketed tagline to H1: [Migrate from x402 in minutes].

Verified with pnpm check:types and pnpm build.

- one-time-payments: remove @Noerrors twoslash block with invalid syntax, replace with link to Stripe docs
- split-payments: add missing description frontmatter
- pay-as-you-go: fix 'offchain' -> 'off-chain' for consistency
- pay-as-you-go: add missing heading in Hono tab between Mppx setup and route creation
- upgrade-x402: remove 'easy to add' filler, replace with neutral phrasing
- upgrade-x402: add bracketed tagline to H1 heading
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mpp Ready Ready Preview, Comment Apr 16, 2026 4:48pm

Request Review

@github-actions github-actions bot added the docs label Apr 16, 2026
@brendanjryan brendanjryan merged commit 5e64c7e into main Apr 16, 2026
10 checks passed
@brendanjryan brendanjryan deleted the fix/guide-style-violations branch April 16, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant