Docusaurus React-based documentation site generator supporting MDX, versioned docs and localization.
Overview Docusaurus is an open-source framework for documentation websites. It generates HTML for routes and uses React for the site's browsing experience, with MDX allowing interactive components inside Markdown-oriented documentation. Its documentation-focused conventions address navigation, release-specific material and localization without requiring a team to design every part of a documentation portal from scratch.[2]
Contents Documentation and versions Versioning creates a preserved snapshot of the documentation while the working docs continue to evolve. Docusaurus distinguishes the current source version from the latest published version shown by default in navigation. Those can have different URLs, so a release workflow must deliberately choose which material readers see first.[3]
The versioning guide warns that retaining versions increases build time and maintenance complexity. It is most useful when documentation differs materially between supported product versions. A project with rarely changing instructions may gain little from copying its whole documentation tree for each release, even though the feature is available.[3]
Search and deployment Search requires a chosen integration. Docusaurus provides official support for Algolia DocSearch, while local search and Typesense options are community-maintained. Local search downloads an index to the browser and is suited to smaller indexes. Static page generation therefore does not automatically establish either offline search or eligibility for a free hosted search service.[4]
The deployment guide separates building the site from serving its generated output and configuring the destination path. Docusaurus is MIT-licensed, but hosting and external services remain separate. MDX components and React customization are part of the project's source; keeping only a copy of the rendered website does not preserve that authoring structure.[1] [2] [5]
Substitution scope Docusaurus can substitute for MkDocs for a documentation portal when React components and built-in versioned-document workflows are useful. It is a change of authoring and build system rather than a compatible MkDocs theme. Markdown prose may be reusable, but navigation configuration, extensions, search integration and any MDX-specific behavior need an explicit migration plan.[2] [3] [6] [7]
Also included: 2 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.