Getting Started
Run the template locally and ship your first page in five minutes
Prerequisites
- Node.js 20+
- pnpm 9+
Setup
Get the template
Get the template from shipany.ai/templates/shipany-docs, then clone your repository and install dependencies:
git clone <your-repo-url> my-product-docs
cd my-product-docs
pnpm installStart the dev server
pnpm devOpen http://localhost:3000 — the site renders the
pages in content/docs/. English lives at /, Chinese at /zh.
Make it yours
Set your brand in .env (see Customization):
VITE_APP_NAME=My Product Docs
VITE_APP_LOGO=https://cdn.example.com/logo.png
VITE_SITE_URL=https://example.comWrite your first page
Create content/docs/hello.mdx:
---
title: Hello
description: My first docs page
---
Welcome to my product documentation!Add its Chinese twin hello.zh.mdx, then list "hello" in
content/docs/meta.json. The sidebar updates on save.
Project structure
content/docs/ # your documentation (MDX) — this is where you work
src/styles/theme.css # color palette (shadcn variable format)
src/lib/config.ts # env-driven branding
.env # VITE_APP_NAME, VITE_APP_LOGO, ...Everything else (routing, search, i18n, layout) works without modification.
Commands
| Command | Description |
|---|---|
pnpm dev | Dev server on port 3000 |
pnpm build | Production build |
pnpm start | Serve the built output |
pnpm cf:deploy | Build and deploy to Cloudflare Workers |
Next steps
- Writing Content — frontmatter, sections, components
- Customization — theme and branding
- Deployment — go live