This repo contains documentation for Tribe DAO projects.
Deployed at: https://docs.tribedao.xyz
The docs are built using Docusaurus 2.
- Make changes to the
gh-pages
branch (ideally by branching and raising a PR) - Commit and push
- Run
yarn deploy
$ yarn
$ 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.
Changes are read from gh-pages
and the site is rebuilt upon deploy:
$ yarn deploy
The deploy script will build your local version of the code and push it to the master
branch.
Github Pages will then serve whatever is in master
.