Skip to content

OpenBodhi/vitepress-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VitePress Logo

VitePress Template

Built with VitePress License: MIT PRs Welcome

📖 Project Introduction

VitePress Template is an out-of-the-box documentation site template built on VitePress, designed specifically for technical documentation, product instructions, and knowledge bases. The template provides a modern design, fast development experience, and flexible customization options.

🌟 Features

  • Fast Development: Built on Vite, providing extremely fast hot reload and build speed
  • Multi-language Support: Built-in bilingual support for Chinese and English, easily extendable to other languages
  • Responsive Design: Adapts to various device screens, providing an excellent mobile reading experience
  • SEO Friendly: Automatically generates sitemap, supports search engine optimization
  • Easy Deployment: Supports deployment to platforms like GitHub Pages, Netlify, Vercel, etc.
  • Theme Customization: Customizable theme colors, layouts, and components

🎯 Use Cases

  • Open source project documentation
  • Enterprise technical documentation
  • Product user manuals
  • Knowledge base systems
  • Personal blogs or notes

🚀 Quick Start

0. Requirements

1. Installation

pnpm install

2. Start Development Server

pnpm docs:dev

3. Build Static Site

pnpm docs:build

4. Preview Build Results

pnpm docs:preview

🌐 Online Demo

View Online Demo

📁 Project Structure

.
├── docs/
│   ├── .vitepress/           # VitePress configuration
│   │   └── config/           # Configuration files
│   ├── en/                   # English documentation
│   ├── zh/                   # Chinese documentation
│   └── public/               # Static assets
├── package.json              # Project configuration file
└── README.md                 # Project description file

🌍 Multi-language Support

This project supports bilingual Chinese and English:

  • English documentation is located in the docs/en/ directory
  • Chinese documentation is located in the docs/zh/ directory

If you need other languages, you can extend them according to the project structure and configuration files.

🙏 Acknowledgements

Special thanks to the following open source projects:

  • VitePress - Static site generator powered by Vite and Vue
  • Vue.js - Progressive JavaScript framework
  • Vite - Next generation frontend build tool

📄 License

MIT

About

vitepress模板

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors