Documentation for the x402r refundable payments protocol, built with Mintlify.
Live site: docs.x402r.org
- Node.js >= 20
- npm or pnpm
# Install Mintlify CLI (if needed)
npm i -g mintlify
# Start local dev server
npx mint devView your local preview at http://localhost:3000.
This repo includes Claude Code configuration for documentation development:
# Start Claude Code in the docs folder
cd docs && claude
# Available skills:
# /docs-new-page - Create a new documentation page
# /docs-review - Review a page for quality issues
# /docs-update - Update existing documentationSee CLAUDE.md for writing standards and guidelines.
docs/
├── .claude/commands/ # Claude Code skills
├── api-reference/ # API documentation
├── essentials/ # Core documentation guides
├── images/ # Documentation images
├── logo/ # Brand logos
├── snippets/ # Reusable MDX snippets
├── .mintignore # Files excluded from Mintlify
├── CLAUDE.md # Claude Code configuration
├── docs.json # Mintlify configuration
└── index.mdx # Homepage
Changes pushed to the default branch are automatically deployed via Mintlify's GitHub integration.
- Dev server not starting: Run
mint updateto get the latest CLI version - 404 on a page: Ensure the page is listed in
docs.jsonnavigation - Build errors: Check MDX syntax and frontmatter format