What is Docusaurus and who maintains it?
Docusaurus is an open-source static site generator built and maintained by Meta (formerly Facebook). It is specifically designed for creating documentation websites, though it also supports blogs and custom pages. It is released under the MIT license.
Is Docusaurus free to use for commercial projects?
Yes. Docusaurus is entirely free and open source under the MIT license. There are no paid tiers, usage limits, or commercial restrictions. You can use it for personal, open-source, and commercial documentation sites without cost.
How does document versioning work in Docusaurus?
Docusaurus lets you snapshot your documentation at a point in time and associate it with a version number. Users can switch between versions in the sidebar. This keeps docs synchronized with different software releases, so users on older versions still find accurate documentation.
Can I use Docusaurus for a blog or marketing site?
Docusaurus includes a built-in blog engine with RSS feeds, tags, and author profiles. However, it is optimized for documentation-first sites. For complex marketing or e-commerce sites, a general-purpose framework like Next.js or Gatsby may be a better fit.
What is MDX and why does Docusaurus use it?
MDX is a format that combines Markdown with JSX (React components). Docusaurus uses MDX so that you can write standard Markdown for content but embed interactive elements — like live code editors, tabs, or custom widgets — directly in your documentation pages.
Where can I deploy a Docusaurus site?
Docusaurus generates static HTML that can be hosted anywhere. It has built-in deployment commands for GitHub Pages, Netlify, and Vercel. You can also deploy to AWS S3, Cloudflare Pages, or any static hosting provider.