- Make sure that you have Node.js v18 or above installed. (We recommend v20)
- Install pnpm for managing dependencies. (We recommend v8)
- For code editor we recommend using Visual Studio Code.
- Fork the repository on GitHub.
- Clone the forked repository to your local machine.
- Open the cloned repository in your code editor.
- Open a terminal in the cloned repository.
- Run the following command to install dependencies:
pnpm install
- Install pre-commit, and install pre-commit hooks:
pre-commit install
- Run the following command to start the development server:
pnpm docs:dev
- Make your changes and preview the result in the browser.
- Before you commit any changes, make sure that your have gone through the checklist.
- After commit, push your changes to your forked repository.
- Create a pull request to the main repository.
- Wait for the pull request to be reviewed and merged. Thank you for your contribution!
- I have read the contributing guideline.
- I have previewed the site using
pnpm docs:dev
to make sure that there are no rendering errors. - I have built the site using
pnpm docs:build
to make sure that there are no build errors. - I have installed pre-commit hooks.
- I am using Conventional Commits.
- I have clearly described the changes I made in the commit message.