talira

Docusaurus

Easy to maintain open source documentation websites.

open sourceMITself-hostablefree

Docusaurus is a static site generator for documentation sites, made at Meta and built with React. Pages are Markdown or MDX, so React components can sit inside the docs, and a site gets docs, a blog and custom pages from one config. It versions documentation alongside a project's releases, translates the site into several locales (i18n), and builds static HTML for every path that loads as a single-page app. Search has first-class support for Algolia DocSearch, with community plugins for Typesense DocSearch and local search; themes and plugins customise the rest. Version 3 needs Node.js 20 or later.

Problems it solves

  • build a documentation website for my open source project from Markdown files in the repo
  • keep docs for v1, v2 and v3 of my library online side by side
  • put interactive React components inside my documentation pages
  • translate our product docs into several languages with the same site structure
  • a docs site and a blog in one project, hosted for free on GitHub Pages or Netlify
  • add good search to a static documentation site
  • a documentation site generator for a team that already knows React
  • move our docs off a hosted docs platform to something we control in git

Features

  • Markdown and MDX pages with React components
  • docs, blog and custom pages
  • document versioning
  • internationalization (i18n)
  • static HTML for every path, loaded as a single-page app
  • first-class Algolia DocSearch; community Typesense and local search plugins
  • themes, swizzling and plugins
  • create-docusaurus scaffolding

Limitations

  • No built-in search index: search needs Algolia DocSearch or a community plugin (Typesense, local search)1

Capabilities

Has a command line toolplan not known
Takes pluginsplan not known

Alternatives

The same job

These do what Docusaurus does.

  1. docsify A magical documentation site generator: Markdown files become a website with no build step
  2. Mintlify The documentation platform for agents
  3. mdBook Create books from Markdown files
  4. Starlight Build beautiful, accessible, high-performance documentation websites with Astro
  5. MkDocs Project documentation with Markdown.
  6. Fumadocs The React.js docs framework

Compare Docusaurus with the top 3