Contributing
Local preview
Section titled “Local preview”npm cinpm run devThe production check is:
npm run buildThis validates inventory records, type-checks Astro content, and builds the static site for https://docs.team8044.org/.
Add or update a tool
Section titled “Add or update a tool”- Edit
src/data/tools.json. Keep the model number exactly as printed on the tool nameplate. - Use a lowercase, stable
idand a matching guide path under/tools/handheld/guides/. - Preserve every spreadsheet or inventory source in
sourceRows; combine duplicate physical inventory into one model record. - Link manufacturer product pages and manuals instead of copying manuals into the repository.
- Add or update the guide in
src/content/docs/tools/handheld/guides/. - Run
npm run buildbefore opening a pull request.
Product information rules
Section titled “Product information rules”- Use the product’s commercial name as the page title and keep the model as secondary metadata.
- Include only useful model-specific specifications from an official product page or manual.
- Link the exact manufacturer page and manual. Add Amazon only when the listing is verified as the same model; never link a substitute or search result.
- Leave unknown fields as “Not recorded” instead of adding explanatory filler.
Publishing
Section titled “Publishing”Cloudflare Pages builds and deploys pushes to main using npm run build and the dist output directory. GitHub Actions runs the same validation for pushes and pull requests in .github/workflows/check.yml. Repository administrators can find hosting and custom domain setup in the repository README.
The documentation site is public; contributing through GitHub requires access to the private repository.
