Mintlify docs at docs.x402r.org. Config in docs.json.
For any non-trivial doc work, invoke the writing-docs skill — it loads the style guide, per-page creative briefs, quality gates, and source-file map, and walks the full workflow.
npx mint dev # Preview at localhost:3000- YAML frontmatter required on all MDX files (
title,description) - Real addresses from
x402r-sdk/packages/core/src/config/index.ts— never placeholders like0xYourAddressor<CHAIN_ID> - Verify every export, function name, and file path exists before referencing
- Test all code examples before including
- Never use em dashes (
—) — use a comma, period, or rewrite - Use Mermaid for diagrams, never ASCII art
- Relative paths for internal links, alt text on images
- Components:
Note,Tip,Warning,Info,Steps,CardGroup,Tabs,Accordion,CodeGroup
Style rules (anti-slop, voice, structure) live in:
.vale.ini+styles/x402r/— deterministic enforcement (runs in CI and via PostToolUse hook on.mdxedits)- The
writing-docsskill (installed at the monorepo workspace level) — full prose style guide, per-page briefs, quality gates, source-files map