Cartesi Docs is built with Docusaurus 2.4.3
-
Fork the repo:
For help, refer to GitHub Docs: Fork a repo.
-
Clone your forked repo:
git clone [email protected]:[your_github_handle]/cartesi/docs
-
Navigate into the cloned folder:
cd docs
-
If you have already cloned the repository, be sure to sync your fork with the latest changes:
For help, refer to GitHub Docs: Syncing a fork.
git checkout master git pull
-
Install the dependencies:
yarn install
The site is built using Docusaurus. You need to install Docusaurus before running the Docs locally.
yarn add docusaurus
-
Run the Docs locally:
The following command will start a local development server and open a browser window. Most changes are reflected live without having to restart the server.
yarn start
Launch the docs on http://localhost:3000
.
$ yarn build
This command generates static content in the build
directory, which can be served using any static content hosting service.
This repo build is automatically deployed using AWS Amplify.
The following branches and pull requests are deployed to the following URLs:
Branch | URL |
---|---|
master | https://github.com/cartesi/docs |