BASE

Docusaurus

Docusaurus

Web framework / library · Free

A documentation generator using React and MDX with versioning and localization: it publishes technical sites and product documentation.

Also known as: facebook/docusaurus; docusaurus; doc-site-generator

Resource illustration: Docusaurus

Open resource ↗

What you can use for free

Code and local use under MIT.

Paid features and costs

Computing resources, self-hosting, and external services are paid for separately if used.

Access and limitations

Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.

Use cases

  • Build versioned product documentation
  • Connect a versioning/localization workflow and check the generated documentation site

Example workflow

A possible workflow; this is not a report of hands-on testing.

Build versioned product documentation.

Before you start

  • Web application source code and the intended workflow.
  • The project's framework and runtime version.

Steps

  1. Organize MDX pages and section navigation.
  2. Connect a versioning/localization workflow and check the generated documentation site.
  3. Add real data and error handling; check the production build.

Check your result

  • The workflow works after a page refresh and with invalid data.
  • The bundle, server rendering, and supported browsers suit the project.

Choosing Docusaurus

Build versioned product documentation

Choose this when

  • Build versioned product documentation
  • Connect a versioning/localization workflow and check the generated documentation site

Things to consider

  • Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
  • Terms of use: MIT: code; dependencies are licensed separately. Docusaurus documentation is CC-BY-4.0.
  • Versioning adds build time and maintenance complexity; the documentation recommends enabling it when versions have real differences.

Frequently asked questions

What can you use for free in Docusaurus?

Code and local use under MIT.

What additional costs might arise with Docusaurus?

Computing resources, self-hosting, and external services are paid for separately if used.

What terms of use matter for Docusaurus?

MIT: code; dependencies are licensed separately. Docusaurus documentation is CC-BY-4.0.

How do you get started with Docusaurus?

Organize MDX pages and section navigation. Connect a versioning/localization workflow and check the generated documentation site. Add real data and error handling; check the production build.

What exactly does a Docusaurus documentation version preserve?

docs:version copies the current docs folder to versioned_docs, saves a versioned sidebar, and adds the name to versions.json. Current docs and the default displayed version may differ: they are usually /docs/next and /docs.

License

MIT: code; dependencies are licensed separately. Docusaurus documentation is CC-BY-4.0.

MIT — permissive license

Docusaurus source code.

You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.

License terms

CC BY 4.0 — free use with attribution

The Docusaurus project's own documentation; rights to user content on a site must be checked separately.

You can copy, adapt, and use the material commercially. Credit the author, link to the license, and indicate changes without implying the author's endorsement. Check additional rights for other brands, people, or included third-party material separately.

License terms

Technologies and topics

  • Docusaurus
  • web
  • Development

Sources

Other resources