๐ Getting Started โ
Welcome to the My Docs template! This guide will help you set up your own documentation site.
Prerequisites โ
- Node.js 24+
- Package manager (npm / yarn / pnpm)
Quick Start โ
1. Clone the template โ
bash
git clone https://github.com/aiastia123/my-docs.git
cd my-docs2. Install dependencies โ
bash
npm install3. Start dev server โ
bash
npm run docs:devVisit http://localhost:5173 to preview.
4. Build for production โ
bash
npm run docs:buildThe output will be in docs/.vitepress/dist.
Project Structure โ
my-docs/
โโโ docs/
โ โโโ .vitepress/
โ โ โโโ config.ts # VitePress config
โ โ โโโ theme/
โ โ โโโ index.ts # Theme entry
โ โ โโโ style.css # Custom styles
โ โโโ public/ # Static assets
โ โ โโโ logo.svg
โ โโโ guide/ # Guide docs (Chinese)
โ โโโ dev/ # Dev docs (Chinese)
โ โโโ en/ # English docs
โ โ โโโ guide/
โ โ โโโ dev/
โ โโโ index.md # Home page
โโโ package.json
โโโ README.mdNext Steps โ
- ๐ Read Configuration to customize your site
- ๐จ Check Custom Theme for personalization
- ๐ฆ Learn Markdown Extensions for rich content