Docs
Set up and run the Reloop documentation site locally.
This documentation site — MDX guides, API reference, and local setup docs.
Overview
| Property | Value |
|---|---|
| Directory | apps/frontend/docs |
| Port | 3003 |
| Local URL | https://local.reloop.sh/docs |
| Direct URL | http://localhost:3003 |
| Stack | Next.js · MDX · Tailwind CSS |
Quick start
From the monorepo root (after bun setup):
bun fe:docs:dev
Or start every frontend together:
bun frontend:dev
Turbopack serves the app on port 3003. Prefer https://local.reloop.sh/docs when Caddy is running.
Environment
Committed local defaults live in apps/frontend/docs/.env (and .env.dev). Fresh clones already have them; bun env:setup / bun setup recreate or merge missing keys.
NEXT_PUBLIC_URL=https://local.reloop.sh
# Rybbit analytics (optional)
NEXT_PUBLIC_RYBBIT_HOST=https://app.rybbit.io
NEXT_PUBLIC_RYBBIT_SITE_ID=reloop-docs
| Variable | Required | Default |
|---|---|---|
NEXT_PUBLIC_URL | No | https://reloop.sh — canonical URLs, OG metadata, and public origin |
NEXT_PUBLIC_RYBBIT_HOST | No | Rybbit analytics host |
NEXT_PUBLIC_RYBBIT_SITE_ID | No | Rybbit site identifier |
Content structure
| Path | Purpose |
|---|---|
content/docs/setup/ | Local development setup guides (this section) |
content/docs/api/ | Auto-generated API reference |
content/docs/**/meta.json | Sidebar navigation and ordering |
Commands
| Command | Description |
|---|---|
bun fe:docs:dev | Start dev server with Turbopack |
bun run --filter=fe-docs build | Build and validate all MDX pages |
bun run --filter=fe-docs start | Run production build |
bun run --filter=fe-docs generate:api-docs | Regenerate API docs from OpenAPI specs |
Next
Was this page helpful?