About Docusaurus
Docusaurus is an open-source static site generator for documentation, maintained by Meta. You write Markdown or MDX, and it builds a React-powered site with versioned docs, a blog, translations and search. MIT licensed.
The output is plain static files, so one small CloudSat server can both build the site and serve it with NGINX or Caddy, without a third-party publishing platform. Large sites build faster with more RAM.
After deploy the server has Node.js for building; scaffold a site or clone your repository, then serve the build folder.
What you get with Docusaurus
- Markdown and MDX with React components
- Versioned documentation
- Built-in blog and custom pages
- Internationalization for translated docs
- Search via Algolia DocSearch or local plugins
- Static output you can host anywhere
Docusaurus use cases
- Product docs with one version per release
- An open-source project site with docs and a blog
- An internal handbook built from a Git repository
After you deploy Docusaurus
- SSH in once the server shows Running and scaffold a site with
npx create-docusaurus@latest my-website classic, or clone your docs repository. - Preview with
npm run starton port 3000, reached through an SSH tunnel instead of a public port. - Run
npm run buildand point NGINX or Caddy at the generatedbuilddirectory. - Add a domain with HTTPS, and rebuild from a Git hook or CI job whenever the docs change.
Docusaurus ports
Open these in your firewall if you use one: 80/tcp HTTP, 443/tcp HTTPS, 3000/tcp Dev server.
Docusaurus FAQ
Which Node.js version does Docusaurus need?
Version 20 or newer. Check with node -v before you install dependencies.
Does production need a Node server?
No. npm run build outputs static HTML, CSS and JavaScript that any web server can host; Node is only needed to build.
Disclaimer. The Docusaurus project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.