A Template base interface for Docusaurus Projects in CBK2000 Group
This website is built using Docusaurus 2
- Node Js version 18 or above
- Yarn
-
Package installation
$ yarn
-
Run the application
$ yarn start
-
Translate plugin data
$ yarn write-translations --locale en
Please refer to i18n Tutorial.
- No Direct Commits to Main (Contribute using branch and pull requests)
Branch naming is preferably on the feature that is being implemented/a bug that is being fixed/a chore that is being done
git checkout -b "Branch Name"
- Make sure the production branch is named 'main'
- Deployment to github pages is done automatically through github runners (Reference point master branch)
- For developers in windows, make sure to configure git to use LF ending instead of CRLF using either
a. Locally
b. Globally
git config core.autocrlf false
git config --global core.autocrlf false
- Make sure to make a clear commit message