Protostar Website
April 7, 2022 ยท View on GitHub
https://docs.swmansion.com/protostar/
This website is built using Docusaurus 2, a modern static website generator.
Development
Requirements
- Node.js version >= 14 or above (which can be checked by running
node -v). You can use nvm for managing multiple Node versions on a single machine installed.
Running website locally
- Install yarn:
npm i yarn -g - Install website dependencies:
yarn install - Run the website locally:
yarn start
Updating documentation
You can find documentation source files in the docs directory. The documentation is written in the markdown format. Docusaurus converts markdown files into website.
To change the navigation flow, update docusaurus.config.js. This file configures Docusaurus.
Deployment
Deployment is automatized. When a pull-request is merged to the master branch, ../.github/workflows/deploy_docs.yml builds project and deploys it to the gh-pages branch.