Contributing
Local preview
Section titled “Local preview”npm installnpm 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”The workflow in .github/workflows/deploy.yml builds and deploys pushes to main. A repository administrator must select GitHub Actions as the Pages source under Settings → Pages once.
