This website is built using Docusaurus 2, a modern static website generator.
yarn installyarn startThis command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
yarn buildThis command generates static content into the build directory and can be served using any static contents hosting service with the following command:
yarn serveGIT_USER=<Your GitHub username> USE_SSH=true yarn deployIf you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.
The versioning is done in two steps:
-
Delete the entry
Stablefrom the file/versions.json -
Copy the content from the
Nextversion intoStable
yarn run docusaurus docs:version StableThe versioning command will generate the following content:
-
The entry
Stablewill be added (again) to the/versions.jsonfile -
/versioned_docs/version-Stablewill be updated with theNextcontent located in/docs -
/versioned_sidebars/version-Stable-sidebars.jsonwill be updated with theNextsidebar content located in/sidebar.js
Before creating a Pull Request for adding new docs or creating a new version, it's strongly encouraged to build the docs site as described above