The documentation can be viewed at documentation.
- Create a copy of the content in the
docs
folder by using the command
yarn run docusaurus docs:version <CURRENT_VERSION>
- Change the current version to the new version in
docusaurus.config.js
versions: {
current: {
label: <NEW_VERSION>,
path: '/',
}
}
- Add the previous version to the
versions.json
file and remove the existing one.
$ yarn install
$ yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
$ yarn build
This command generates static content into the build
directory and can be served using any static contents hosting service.