Skip to content

Before You Start

This guide publishes a VitePress documentation site to Cloudflare Pages and uses this production domain:

text
https://docs.hideapps.top

What You Need

  • A Git repository you can push to, preferably on GitHub.
  • A Cloudflare account.
  • DNS management access for hideapps.top.
  • A local Node.js environment. Use the same major version in Cloudflare Pages when possible.

Project Structure

text
.
├─ .vitepress/
│  ├─ config.mts
│  └─ theme/
├─ guide/
├─ reference/
├─ public/
├─ package.json
└─ wrangler.toml

Local Commands

Install dependencies:

bash
npm install

Start the development server:

bash
npm run dev

Build the static site:

bash
npm run build

The build output is:

text
.vitepress/dist

Next: create and maintain the VitePress project content.

Built with VitePress and Cloudflare Pages.