From c22ec3768f78f03160766f254b501226a591adfe Mon Sep 17 00:00:00 2001 From: Ben Stokes Date: Tue, 22 Sep 2026 15:42:23 +0100 Subject: [PATCH] docs: switch the ordering of quickstart docs --- apps/docs/scripts/generate-agent-docs.test.ts | 4 +-- .../src/app/pages/docs/data/api-quickstart.ts | 2 +- .../pages/docs/data/build-a-marketplace.ts | 2 +- apps/docs/src/app/pages/docs/data/guides.ts | 32 +++++++------------ .../pages/docs/data/marketplace-quickstart.ts | 2 +- .../src/app/pages/docs/data/quickstart.ts | 2 +- apps/docs/src/app/pages/docs/docs.ts | 2 +- 7 files changed, 19 insertions(+), 27 deletions(-) diff --git a/apps/docs/scripts/generate-agent-docs.test.ts b/apps/docs/scripts/generate-agent-docs.test.ts index 0db6d81..c38eba7 100644 --- a/apps/docs/scripts/generate-agent-docs.test.ts +++ b/apps/docs/scripts/generate-agent-docs.test.ts @@ -117,8 +117,8 @@ test('agent guides use a dedicated final sidebar section', () => { assert.deepEqual( getStarted?.children?.map((child) => child.id), [ - 'quickstart', - 'api-quickstart', + 'payment-link-quickstart', + 'checkout-api-quickstart', 'authentication', 'migrate-from-stripe', 'platform-dashboard', diff --git a/apps/docs/src/app/pages/docs/data/api-quickstart.ts b/apps/docs/src/app/pages/docs/data/api-quickstart.ts index fc57137..27aff04 100644 --- a/apps/docs/src/app/pages/docs/data/api-quickstart.ts +++ b/apps/docs/src/app/pages/docs/data/api-quickstart.ts @@ -3,7 +3,7 @@ import { NODE_INIT } from './shared'; export const CHECKOUT_API_QUICKSTART_PAGE: DocPage = { id: 'checkout-api-quickstart', - title: 'Checkout API quickstart', + title: 'API Quickstart', description: 'Accept USDC payments from your app with Checkout and the Zoneless Node.js SDK. This guide uses Zoneless Cloud in live mode.', sections: [ diff --git a/apps/docs/src/app/pages/docs/data/build-a-marketplace.ts b/apps/docs/src/app/pages/docs/data/build-a-marketplace.ts index a1ff005..3668a85 100644 --- a/apps/docs/src/app/pages/docs/data/build-a-marketplace.ts +++ b/apps/docs/src/app/pages/docs/data/build-a-marketplace.ts @@ -2,7 +2,7 @@ import { DocPage } from './types'; export const API_QUICKSTART_PAGE: DocPage = { id: 'api-quickstart', - title: 'API Quickstart', + title: 'Payouts API Quickstart', description: 'Create a connected account, onboard a seller, and send their first USDC payout.', sections: [ diff --git a/apps/docs/src/app/pages/docs/data/guides.ts b/apps/docs/src/app/pages/docs/data/guides.ts index f033b81..8b9e3e5 100644 --- a/apps/docs/src/app/pages/docs/data/guides.ts +++ b/apps/docs/src/app/pages/docs/data/guides.ts @@ -4,8 +4,16 @@ export const GET_STARTED_SECTION: DocSection = { id: 'get-started', title: 'Get started', children: [ - { id: 'quickstart', title: 'Quickstart', children: [] }, - { id: 'api-quickstart', title: 'API Quickstart', children: [] }, + { + id: 'payment-link-quickstart', + title: 'Quickstart', + children: [], + }, + { + id: 'checkout-api-quickstart', + title: 'API Quickstart', + children: [], + }, { id: 'authentication', title: 'Authentication', children: [] }, { id: 'migrate-from-stripe', title: 'Migrate from Stripe', children: [] }, { id: 'platform-dashboard', title: 'Platform Dashboard', children: [] }, @@ -31,6 +39,8 @@ export const CONNECT_GUIDES_SECTION: DocSection = { id: 'connect-guides', title: 'Marketplaces', children: [ + { id: 'quickstart', title: 'Payouts Quickstart', children: [] }, + { id: 'api-quickstart', title: 'Payouts API Quickstart', children: [] }, { id: 'connected-accounts', title: 'Connected Accounts', children: [] }, { id: 'fund-platform-wallet', @@ -45,23 +55,6 @@ export const CONNECT_GUIDES_SECTION: DocSection = { ], }; -export const PAYMENTS_GUIDES_SECTION: DocSection = { - id: 'payments-guides', - title: 'Payments', - children: [ - { - id: 'payment-link-quickstart', - title: 'Payment Links quickstart', - children: [], - }, - { - id: 'checkout-api-quickstart', - title: 'Checkout API quickstart', - children: [], - }, - ], -}; - export const DEVELOPMENT_SECTION: DocSection = { id: 'development', title: 'Development', @@ -97,7 +90,6 @@ export const PRIMARY_GUIDE_SECTIONS: DocSection[] = [ CONNECT_GUIDES_SECTION, SELF_HOSTING_SECTION, DEVELOPMENT_SECTION, - PAYMENTS_GUIDES_SECTION, ]; export const GUIDE_SECTIONS: DocSection[] = [ diff --git a/apps/docs/src/app/pages/docs/data/marketplace-quickstart.ts b/apps/docs/src/app/pages/docs/data/marketplace-quickstart.ts index f81f372..219dd04 100644 --- a/apps/docs/src/app/pages/docs/data/marketplace-quickstart.ts +++ b/apps/docs/src/app/pages/docs/data/marketplace-quickstart.ts @@ -2,7 +2,7 @@ import { DocPage } from './types'; export const QUICKSTART_PAGE: DocPage = { id: 'quickstart', - title: 'Quickstart', + title: 'Payouts Quickstart', description: 'Onboard a seller and send their first USDC payout with no code.', sections: [ diff --git a/apps/docs/src/app/pages/docs/data/quickstart.ts b/apps/docs/src/app/pages/docs/data/quickstart.ts index d5aebca..a0be8b0 100644 --- a/apps/docs/src/app/pages/docs/data/quickstart.ts +++ b/apps/docs/src/app/pages/docs/data/quickstart.ts @@ -2,7 +2,7 @@ import { DocPage } from './types'; export const PAYMENT_LINK_QUICKSTART_PAGE: DocPage = { id: 'payment-link-quickstart', - title: 'Payment Links quickstart', + title: 'Quickstart', description: 'Accept your first stablecoin payment with no code.', sections: [ { diff --git a/apps/docs/src/app/pages/docs/docs.ts b/apps/docs/src/app/pages/docs/docs.ts index 0abbac6..2d6964d 100644 --- a/apps/docs/src/app/pages/docs/docs.ts +++ b/apps/docs/src/app/pages/docs/docs.ts @@ -66,7 +66,7 @@ export class Docs implements OnInit, OnDestroy, AfterViewInit { readonly agentMarketplacePrompt = marketplaceAgentPrompt; readonly agentPaymentsPrompt = paymentsAgentPrompt; - activeSection = signal('quickstart'); + activeSection = signal('payment-link-quickstart'); activeSubSection = signal(''); expandedSections = signal>( new Set(docSections.map((section) => section.id))