VitePress is a static site generator built for documentation. It takes Markdown files and turns them into a fast, good-looking docs site β with search, navigation, and dark mode included. If you can write Markdown, you can build a docs site with VitePress.
Why VitePress exists
Good documentation needs three things: it must be easy to write, easy to navigate, and fast to load. VitePress delivers all three. You write in Markdown, it handles the rest β the sidebar, the table of contents, the search box, and the theme. And because it is built on Vite, the development server starts instantly and rebuilds in milliseconds.
Your first docs site
Install it and create your first page:
npm add -D vitepress
Enter fullscreen mode
Exit fullscreen mode
# Getting Started Welcome to my project.β¦