Documentation
Architecture
A short map of the storefront structure.
Routes
src/app/page.tsxhandles the storefront landing page.src/app/[channel]/(main)contains the channel-scoped storefront experience.src/app/docshosts the documentation area.
Data flow
- Saleor GraphQL requests live in
src/lib/graphql.ts - Channel and caching behavior is controlled through environment variables
- Docs content is loaded through Fumadocs MDX and rendered as MDX pages
Notes
The docs route is intentionally separate from the storefront channel route, so it can grow independently without affecting product navigation.