Skip to content

docs: rebrand site and write all guide content#2

Merged
marioalvial merged 8 commits intomainfrom
docs/rebrand-and-write-content
Apr 14, 2026
Merged

docs: rebrand site and write all guide content#2
marioalvial merged 8 commits intomainfrom
docs/rebrand-and-write-content

Conversation

@marioalvial
Copy link
Copy Markdown
Contributor

Summary

Takes the documentation scaffold from #1 and turns it into a fully written, branded developer portal:

  • Rebrand: Replace default Mintlify theme with Trace Finance identity — palm color scheme, official SVG logos, dark mode default, Inter fonts, gradient decorations, and tokyo-night code blocks
  • API guides & principles: Fill all stub pages with real content adapted from internal service docs — authentication (Auth0 JWT), environments, versioning, idempotency, cursor-based pagination, money format, error handling, LHS Brackets filtering, webhook setup with HMAC-SHA256 verification, and event catalog
  • Quickstart & journeys: Write end-to-end flows — quickstart (3-step token→list→response), open BRL/crypto accounts, deposit (intent-first and money-first), withdrawal with beneficiary registration, and FX swap with quote→execute flow

23 files changed across 3 commits. All URLs use {{variables}} from docs.json for single-source-of-truth. Journey pages link to webhook events instead of duplicating descriptions.

Test plan

  • mint dev — verify all pages render correctly at localhost:3000
  • mint build — strict build passes with no errors
  • mint broken-links — no broken internal links
  • mint accessibility — alt text and color contrast pass
  • Spot-check branding: logos, favicon, palm theme, dark mode default
  • Verify code blocks have syntax highlighting and {{variable}} interpolation works
  • Walk through quickstart flow end-to-end as a new reader

- Replace Mintlify logos with official Trace Finance brand SVGs
- Update favicon to Trace Finance geometric icon
- Switch theme from mint to palm (fintech-specific)
- Add gradient background decoration and Inter fonts
- Set dark mode as default, breadcrumb eyebrows, tokyo-night code blocks
- Add "Get started" CTA button to navbar
- Redesign landing page: rename to Home, generic description, card navigation
- Simplify sandbox-note snippet
- Centralize URLs as Mintlify variables (sandboxUrl, productionUrl, authUrl)
- Add .nvmrc for Node 22 LTS (Mintlify CLI requirement)
Fill all stub pages with real content adapted from legacy docs:
- Authentication: Auth0 JWT flow, token lifecycle
- Environments: sandbox/production URLs, rate limits, 99.8% SLA
- Versioning: X-Trace-Version header, breaking vs non-breaking changes
- Idempotency: X-Idempotency-Key header, 409 conflict behavior
- Pagination: cursor-based with meta object (previousCursor, nextCursor)
- Money: minor units with asset field, ISO 8601 dates
- Errors: code/message/details structure, HTTP status codes, retry guidance
- Filtering: LHS Brackets syntax with operators and logical combinators (new page)
- Webhooks overview: setup, HMAC-SHA256 signature verification, retry policy
- Event reference: account, payment, and beneficiary event catalog

All URLs use {{variables}} from docs.json for single-source-of-truth.
- Quickstart: 3-step flow (get token, list accounts, check response)
- Open BRL account: create, wait for activation, get funding instructions
- Open crypto account: create, compliance checks, get wallet address
- Deposit: intent-first and money-first flows
- Withdrawal: beneficiary registration, compliance review, tracking
- Swap: quote, execute, forward-only warning

Journey pages link to webhook events instead of duplicating descriptions.
@mintlify
Copy link
Copy Markdown

mintlify bot commented Apr 14, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
tracefinance 🟢 Ready View Preview Apr 14, 2026, 4:03 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

- Authentication: replace Auth0 with Trace auth service, fix endpoint
  to /api/oauth/client/token, camelCase fields, 1h token lifetime
- URLs: remove /v1/ path segment (versioning is header-based)
- Pagination: add missing params (direction, sortOrder, includeTotalMatches),
  fix total field description
- Filtering: add missing operators (ne, text), fix like behavior
- Money: add decimalValue and decimals fields to amount object
- Date/time: split into its own page (guides/principles/datetime)
- Idempotency: simplify conflict behavior (same key = conflict, no body check)
- Webhooks: fix retry policy (constant 5min, 288 attempts), fix 5s timeout,
  remove section from navigation until properly documented
- Add language specifiers to fenced code blocks (MD040)
- Unindent code blocks inside Tabs component (MD046)
- Remove orphaned webhook pages from repo (removed from nav earlier)
- Remove all /webhooks/ links from journey pages and home (pages deleted)
- Add blank lines around fenced code blocks in Tabs (MD031)
- Remove Webhooks card from home page
@marioalvial marioalvial merged commit 6066076 into main Apr 14, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant