This website is built using Docusaurus 2, a modern static website generator.
npm run installnpm run startThis command starts a local development server and open 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.
Deployment happens through Firebase Hosting. Take a look at the github workflows!
To edit files for the current version, update the files under the docs directory. To edit the files in a previous version, edit the files from versioned_docs/<you version>.
-
To add a new version, make sure that the OLD version content is finalized in the
docsdirectory, then run:npm run docusaurus docs:version <old version number> -
Update
docusaurus.config.jsto set the current version's label to the new version -
Update
versions.jsonto include the old version (keep "current" as the first element of the array)
WARNING: If you are editing the docs with the intention of upgrades corresponding to a new major version, please generate the past version before editing the
/docsfolder