--- id: introduction title: Introduction description: Docusaurus was designed from the ground up to be easily installed and used to get your website up and running quickly. slug: / --- ## Disclaimer {#disclaimer} Docusaurus v2 is **still alpha** (since mid-2019) but already quite stable. We highly encourage you to **use Docusaurus v2 over Docusaurus v1**. Most users are already using v2 ([trends](https://www.npmtrends.com/docusaurus-vs-@docusaurus/core)), including [React Native](https://reactnative.dev), [Redux](https://redux.js.org/) and [many others](/showcase). **Use Docusaurus v2 if:** - :white_check_mark: You want a modern Jamstack documentation site - :white_check_mark: You want a single-page application (SPA) with client-side routing - :white_check_mark: You want the full power of React and MDX - :white_check_mark: You do not need support for IE11 :::tip Use **[new.docusaurus.io](https://new.docusaurus.io)** to test Docusaurus immediately in CodeSandbox. ::: **Use [Docusaurus v1](https://v1.docusaurus.io/) if:** - :x: You don't want a single-page application (SPA) - :x: You prefer stability over modernity - :x: You need support for IE11 ## A better Docusaurus is coming to town {#a-better-docusaurus-is-coming-to-town} ![Docusaurus Slash Introduction](/img/slash-introducing.svg) Docusaurus 1 used to be a pure documentation site generator. In Docusaurus 2, we rebuilt it from the ground up, allowing for more customizability but preserved the best parts of Docusaurus 1 - easy to get started, versioned docs, and i18n (_coming soon_). Beyond that, Docusaurus 2 is a **performant static site generator** and can be used to create common content-driven websites (e.g. Documentation, Blogs, Product Landing and Marketing Pages, etc) extremely quickly. While our main focus will still be helping you get your documentations right and well, it is possible to build any kind of website using Docusaurus 2 as it is just a React application. **Docusaurus can now be used to build any website, not just documentation websites.** ## Features {#features} Docusaurus is built with high attention to your experience building your site and maintaining it with your collaborators and contributors. - ⚛️ **Built with 💚 and React** - Extend and customize with React - Gain full control of your site's browsing experience by `swizzling` in your own components - **Pluggable** - Bootstrap your site with a basic template, then pick and plug functionalities built by us and our community - Open source your plugins to share with your fellow documentarians, because sharing is caring - ✂️ **Developer experience** - Multiple bootstrapping templates to get your site up and running, start writing your docs right now - Universal configuration entry point to make it more maintainable by contributors - Hot reloading with lightning fast incremental build on changes - Route-based code and data splitting - Publish to GitHub Pages, Netlify, and other deployment services with ease Our shared goal — to help your users find what they need fast, and understand your products better. With the experience of Docusaurus 1, we share with you our best practices to help you build your doc site right and well. - 🎯 **SEO friendly** - HTML files are statically generated for every possible path - page-specific SEO to help your users land on your official docs directly relating their problems at hand - 📝 **Powered by MDX** - Write interactive components via JSX and React embedded in markdown - Share your code in live editors to get your users love your products on the spot - 🔍 **Search** - Your full site is searchable - 💾 **Document Versioning** - Helps you keep documentation in sync with project releases. - 🌍 **i18n** Docusaurus 2 is born to be compassionately accessible to all your users, and lightning fast. - ⚡️ **Lightning fast** - Docusaurus 2 follows the [PRPL Pattern](https://developers.google.com/web/fundamentals/performance/prpl-pattern/) that makes sure your content loads blazing fast - 🦖 **Accessible** - Attention to accessibility, making your site equally accessible to all users ## Comparison with other tools {#comparison-with-other-tools} Across all static site generators, Docusaurus has a unique focus on doc sites and has out-of-the-box structure you need. We've also studied other main static site generators and would like to share our insights on the comparison, hopefully to help you navigate through the prismatic choices out there. ### Gatsby {#gatsby} Gatsby is packed with a lot of features, has a rich ecosystem of plugins and is capable of doing everything that Docusaurus does. Naturally, that comes at a cost of a higher learning curve. Gatsby does many things well and is suitable for building many types of websites. On the other hand, Docusaurus tries to do one thing super well - be the best tool for writing and publishing content. GraphQL is also pretty core to Gatsby, although you don't necessarily need GraphQL to build a Gatsby site. In most cases when building static websites, you won't need the flexibility that GraphQL provides. Many aspects of Docusaurus 2 were inspired by the best things about Gatsby and it's a great alternative. ### GitBook {#gitbook} GitBook has very clean design and has been used by many open source projects. With its focus shifting towards a commercial product rather than an open-source tool, many of its requirements no longer fit the needs as an open source project's documentation site. As a result, many have turned to other products. You may read about Redux's switch to Docusaurus [here](https://github.com/reduxjs/redux/issues/3161). Currently, GitBook is only free for open-source and non-profit teams. Docusaurus is free for everyone. ### Jekyll {#jekyll} Jekyll is one of the most mature static site generators around and has been a great tool to use — in fact, before Docusaurus, most of Facebook's Open Source websites are/were built on Jekyll! It is extremely simple to get started. We want to bring a similar developer experience as building a static site with Jekyll. In comparison with statically generated HTML and interactivity added using `