This website is built using Docusaurus 2, a modern static website generator.
npm installnpm run startThis command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
npm run buildThis command generates static content into the build directory and can be served using any static contents hosting service.
Some of our content is auto-generated by templates, such as our chains directory. In order to regenerate these parts of the documentation, run npm run regenerate-templated-docs.
GIT_USER=<Your GitHub username> USE_SSH=true npm run deployThis command is a convenient way to build the website and push to the gh-pages branch.
If you need to modify the deploy (e.g. push to a different branch), please check out the Docusaurus docs on environment variables.
- Docusaurus caches compiled assets. If you make a change to the config file (e.g. changing
baseUrl), you'll need to runnpm run clearbefore building or yoururls()may not update appropriately.