From eff47f1b0ff8b28b3ddf07386cb9c6198ba1a052 Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Tue, 10 Mar 2026 19:53:17 +0000 Subject: [PATCH] docs: clarify RevenueCat handles all fiat payments including Apple Pay Generated-By: mintlify-agent --- docs.json | 3 ++ repositories/d-sports-engage-native.mdx | 4 +- scripts/sync-openapi.ts | 52 ++++++++++++------------- 3 files changed, 31 insertions(+), 28 deletions(-) diff --git a/docs.json b/docs.json index 7ead8ff..1d8356b 100644 --- a/docs.json +++ b/docs.json @@ -12,6 +12,9 @@ "api": { "baseUrl": "https://app.d-sports.org" }, + "seo": { + "indexing": "all" + }, "favicon": "/favicon.svg", "logo": "/logo/d-sports-logo.png", "navigation": { diff --git a/repositories/d-sports-engage-native.mdx b/repositories/d-sports-engage-native.mdx index f3a816f..4d87636 100644 --- a/repositories/d-sports-engage-native.mdx +++ b/repositories/d-sports-engage-native.mdx @@ -16,7 +16,7 @@ icon: "smartphone" | ---------- | ------------------------- | | Framework | Expo 54, React Native 0.81, React 19 | | Auth | Clerk (Expo) | -| Payments | RevenueCat (react-native-purchases) | +| Payments | RevenueCat (StoreKit for iOS/Apple Pay, Play Billing for Android, Stripe for web) | | Web3 | Thirdweb | | State | Zustand | | Storage | MMKV | @@ -27,7 +27,7 @@ icon: "smartphone" ## Features - **Wallet** — Tokens, holdings, pack opening, crypto checkout (via PWA backend) -- **Shop** — Collectibles, cart, coin bundles, checkout +- **Shop** — Collectibles, cart, coin bundles, checkout (all fiat payments via RevenueCat) - **Leaderboard** — Rankings and filters - **Locker room** — Social feed and engagement - **Profile** — User profile and settings diff --git a/scripts/sync-openapi.ts b/scripts/sync-openapi.ts index 1446bbe..92a4f24 100644 --- a/scripts/sync-openapi.ts +++ b/scripts/sync-openapi.ts @@ -1,26 +1,26 @@ -/** - * Copies the OpenAPI spec from d-sports-api (source of truth) into docs for Mintlify. - * Run from docs repo root: bun run sync-openapi - */ -import { cp, mkdir } from "node:fs/promises"; -import { dirname, join } from "node:path"; -import { fileURLToPath } from "node:url"; - -const __dirname = dirname(fileURLToPath(import.meta.url)); -const docsRoot = join(__dirname, ".."); -const apiRepoRoot = join(docsRoot, "..", "d-sports-api"); -const src = join(apiRepoRoot, "openapi.json"); -const dest = join(docsRoot, "api-reference", "openapi.json"); - -async function main() { - try { - await mkdir(dirname(dest), { recursive: true }); - await cp(src, dest, { force: true }); - console.log("Synced openapi.json from d-sports-api to docs/api-reference/openapi.json"); - } catch (err) { - console.error("Sync failed:", err); - process.exit(1); - } -} - -main(); +/** + * Copies the OpenAPI spec from d-sports-api (source of truth) into docs for Mintlify. + * Run from docs repo root: bun run sync-openapi + */ +import { cp, mkdir } from "node:fs/promises"; +import { dirname, join } from "node:path"; +import { fileURLToPath } from "node:url"; + +const __dirname = dirname(fileURLToPath(import.meta.url)); +const docsRoot = join(__dirname, ".."); +const apiRepoRoot = join(docsRoot, "..", "d-sports-api"); +const src = join(apiRepoRoot, "openapi.json"); +const dest = join(docsRoot, "api-reference", "openapi.json"); + +async function main() { + try { + await mkdir(dirname(dest), { recursive: true }); + await cp(src, dest, { force: true }); + console.log("Synced openapi.json from d-sports-api to docs/api-reference/openapi.json"); + } catch (err) { + console.error("Sync failed:", err); + process.exit(1); + } +} + +main();