This website is built using Docusaurus 2, a modern static website generator.
yarn install
This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server. Use this when developing locally!
yarn start
This command generates static content into the build
directory and can be served using any static contents hosting service.
yarn build
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages
branch.
DEPLOYMENT_BRANCH=gh-pages GIT_USER=username USE_SSH=true yarn deploy
To run the linter locally, I had to do this on my Mac, but bundler
may work too.
brew install rbenv ruby-build
rbenv install 2.6.5
# eval "$(rbenv init -)"
rbenv shell 2.6.5
gem install mdl
mdl .