This website is built using Docusaurus, a modern static website generator.
npm i
npm run 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 npm run deploy
Always create a new version of the docs for a major release. Other than that, try to avoid creating new releases when nothing much has changed. We can make changes to old versions directly, if needed.
Review versioning docs on Docusuaurus' site.
- To cut the current version into a historical version, simply run:
./scripts/cut_version.sh
- Run this script to make sure you have the most up to date o1js artifacts (changelog and autogenerated documentation)
./scripts/update_o1js_artifacts.sh
- Ensure that the value in
.o1js_version
reflects the name of the current version of o1js (this value will be used next time you cut a version).
npm run test