This website is built using Docusaurus 3, a modern static website generator.
| Branch | Site | Purpose |
|---|---|---|
develop |
https://docs-next.platform.vee.codes/ |
Staging |
main |
https://docs.platform.vee.codes/ |
Production |
- Create a feature branch off
develop. - Open a PR targeting
develop— merging triggers an automatic deploy to the staging site. - Review the changes on the staging site.
- Merge
developintomain— triggers the production deploy.
The staging deploy works by force-pushing the develop branch to the main branch of the docs-next mirror repo, which has its own GitHub Pages deploy. See ADR-001 for details.
corepack enable
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.
Check docusaurus version (the command will also output the current upgrade command):
./node_modules/.bin/docusaurus -VUpgrade docusaurus version:
yarn up @docusaurus/core@latest @docusaurus/preset-classic@latest @docusaurus/module-type-aliases@latest @docusaurus/types@latest