Docusaurus 2
Docusaurus 2 is a boilerplate template from Vercel's example collection that deploys a Docusaurus documentation site to Vercel with zero configuration.
What is Docusaurus 2?
Docusaurus 2 is a static site generator template maintained by Vercel and distributed as part of the vercel/vercel repository on GitHub. The template provides a working Docusaurus site that you can push to Vercel for automatic build and deployment without manual server setup. It runs on the Docusaurus framework and outputs a static website, typically used for technical documentation, served through Vercel's global edge network.
Key Features
- Zero-configuration deployment — Connect the repository to Vercel and the platform automatically detects Docusaurus, builds the site, and publishes it.
- Live demo — A deployed instance of this template is accessible at https://docusaurus-2-template.vercel.app.
- One-click deploy via Vercel — The template includes a Deploy with Vercel button that clones the repository into a new Vercel project and starts deployment immediately.
- Scaffold with Docusaurus CLI — The recommended way to use the template is to run
npx create-docusaurus@latest my-website classic, which creates a new project with the classic documentation layout. - Part of an official examples library — The template lives in Vercel's public GitHub repository, which includes many other deployment examples for different frameworks.
Who is it for?
- Documentation maintainers who want to launch a documentation site without spending time on deployment configuration.
- Developers already using Vercel who are looking for a Docusaurus starter that fits their existing Git workflow.
- Learners evaluating Docusaurus who want a minimal, working reference site to inspect and modify.
What can you do with this template?
- Launch a docs site quickly — Clone the template, edit the Markdown files in the
docsfolder, and publish a documentation site to the internet in minutes. - Preview deployments — Each push to your repository triggers a preview deployment on Vercel, letting you review changes before going live.
- Extend with Docusaurus plugins — Because this is a standard Docusaurus project, you can add the full ecosystem of Docusaurus plugins, themes, and internationalization features.
How does it work?
To deploy your own copy, click the Deploy with Vercel button on the template page, which creates a new project from the repository URL. For local development, run npx create-docusaurus@latest my-website classic to scaffold a fresh Docusaurus site in the classic template, then connect that repository to Vercel for automatic builds.
FAQ
Is Docusaurus 2 free?
Yes, Docusaurus is an open-source project, and this template is published under Vercel's examples library, which is publicly available on GitHub. You can use and modify it without charge.
What does this template do?
It provides a minimal Docusaurus site that is pre-configured to be deployed to Vercel with zero configuration. It includes a classic documentation layout with Markdown support, and it serves as a starting point for building documentation websites.
How do I deploy this to Vercel?
You can click the Deploy with Vercel button, which clones the repository into a new Vercel project, or you can push the code to your own Git repository and import it into Vercel. Vercel automatically detects the Docusaurus build command and outputs the static site.
What is Docusaurus?
Docusaurus is an open-source static site generator designed to help you build documentation websites. It supports Markdown, versioning, sidebar navigation, and localization out of the box.








