Installation
Docusaurus was designed from the ground up to be easily installed and used to get your website up an running quickly. To install Docusaurus, follow these steps:
- Create a
websitefolder in the root of your GitHub repo. cd websiteCreate a
package.jsonfile with the following scripts that will be used when developing documentation with Docusaurus:{ "scripts": { "start": "docusaurus-start", "build": "docusaurus-build", "publish-gh-pages": "docusaurus-publish", "examples": "docusaurus-examples" } }
Install Docusaurus with
yarnornpmyarn add docusaurus -devor
npm install --save-dev docusaurus