Skip to content

bitbot-dev/docs

Repository files navigation

Frontbase Docs

Documentation site for Frontbase, built with React Router and Fumadocs, deployed on Cloudflare Workers.

https://doc.ftp13075.workers.dev/

Tech Stack

  • Framework: React Router v7 + React 19
  • Documentation: Fumadocs (MDX support)
  • Styling: Tailwind CSS v4
  • Deployment: Cloudflare Workers (Wrangler)

Prerequisites

  • Node.js 18+
  • pnpm 10+

Getting Started

Installation

pnpm install

Development

Start the development server with HMR:

pnpm run dev

Visit http://localhost:20000 to view the docs.

Type Checking

pnpm run typecheck

Build & Preview

Production Build

pnpm run build

Preview Production Build Locally

pnpm run preview

Deployment

Deploy to Cloudflare Workers using the Wrangler CLI.

Deploy Directly to Production

pnpm run deploy

Staged Deployment (Recommended)

  1. Upload the build and get a preview URL:
pnpm wrangler versions upload
  1. After verification, promote the version to production:
pnpm wrangler versions deploy

Supports progressive rollout and rollback.

Writing Documentation

Documentation content lives in the docs/ directory and is written in MDX:

  • docs/index.mdx - Docs homepage
  • docs/*.mdx - Individual doc pages
  • docs/meta.json - Sidebar navigation config

See Fumadocs docs for MDX syntax and frontmatter usage.

Project Structure

├── app/              # Application code
│   ├── docs/         # Docs pages and search API
│   ├── lib/          # Layout and source config
│   └── routes/       # Route pages
├── docs/             # Documentation content (MDX)
├── source.config.ts  # Fumadocs config
└── wrangler.jsonc    # Cloudflare Workers config

About

Documentation site for Frontbase

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published