This repo contains the contents for our docs deployed here.
The website is built using Docusaurus 2.
set environment variables
EXPORT TAG=2022_03_12-v0.0.1-master
EXPORT REGION=region_name
run deploy.sh script to push to aws ecr repository.
Contributing to the docs site is a great way to get involved with the Dojima dev community! Here's some things you need to know to get started.
- All the docs are located in the docs directory.
- The left side-bar of the page is controlled by sidebars.js.
- Extensive docs for Docusaurus can be found here.
- All PRs should be made against the
master
branch. - Once your PR is merged into
master
, https://docs.dojima.network/ will be updated with your changes.
$ 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.
Using SSH:
$ USE_SSH=true yarn deploy
Not using SSH:
$ GIT_USER=<Your GitHub username> yarn deploy
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.