Skip to content

[docs] keep reference files in the issue, not designs/ (unblock common contributor PR failure) - #40

Merged
HaozheZhang6 merged 1 commit into
mainfrom
docs/keep-refs-in-issue
Jul 22, 2026
Merged

[docs] keep reference files in the issue, not designs/ (unblock common contributor PR failure)#40
HaozheZhang6 merged 1 commit into
mainfrom
docs/keep-refs-in-issue

Conversation

@BenchCAD

Copy link
Copy Markdown
Collaborator

Closes the doc gap behind the most common external-PR rejection.

Why

family-pr-checks rejects reference files inside designs/<family>/ (only the
package — part.py/spec.py/family.json/NOTES.md + preview_*.png — is
allowed; drawings/photos/datasheets belong in the issue). But the two docs a
new contributor actually reads first — GETTING_STARTED.md (Path 1) and
WALKTHROUGH.md — both show git add designs/my_family with no mention of
this. So a contributor who saved the datasheet next to their design staged it and
hit a red gate with no obvious cause. Real example: PR #36 committed
gn705_standard_sheet.pdf + gn705_engineering_drawing.svg + gn705_product_photo.jpg
into the family dir — its design passes bench2 validate, it fails only on this.

The convention was previously only in CONTRIBUTING's (dense) hard-gates table and
a PR-template HTML comment.

Change

One line each in GETTING_STARTED.md (Submit) and WALKTHROUGH.md: the family dir
holds only the package; datasheet/drawing/photo stay in the issue, not designs/.

Docs-only; pairs with the fork-feedback work in #39.

GETTING_STARTED and WALKTHROUGH both showed 'git add designs/my_family' with no
note that the family dir must hold only the package — so a contributor who saved
the datasheet/drawing/photo next to their design staged them, and family-pr-checks
rejects reference files in designs/ (e.g. PR #36 committed a PDF+SVG+JPG). State the
'refs live in the issue' convention where contributors actually read it; it was only
in CONTRIBUTING's gate table and a PR-template comment before.

Signed-off-by: BenchCAD <benchcad@users.noreply.github.com>
@HaozheZhang6
HaozheZhang6 merged commit d310d5f into main Jul 22, 2026
5 checks passed
@HaozheZhang6
HaozheZhang6 deleted the docs/keep-refs-in-issue branch July 22, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants