Version: Next
How to Contribute Docs
This guide covers everything needed to contribute to the HAMi documentation website - from setting up the local environment to writing, previewing, and submitting changes.
The documentation site is built with Docusaurus 3 and supports English (primary) and Simplified Chinese. English is the source language for all content.
Prerequisitesâ
- Node.js v20 (required - other versions are not supported)
- npm
- Git with a GitHub account
Verify your Node version:
node -v # should print v20.x.x
Setupâ
Fork the Project-HAMi/website repository on GitHub, then clone your fork:
git clone https://github.com/<your-username>/website.git
cd website
git remote add upstream https://github.com/Project-HAMi/website.git
npm install