Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated docstrings for BGA packages, needs vetting #231

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

bhusang
Copy link
Contributor

@bhusang bhusang commented Jan 8, 2025

No description provided.

@bhusang bhusang requested a review from callendorph January 8, 2025 22:33
Copy link
Contributor

@callendorph callendorph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've made some comments.

I think in general:

  1. It is making a lot of mistakes.
  2. The docstrings that it adds, particularly for @param are often not very valuable.

src/landpatterns/BGA/package.stanza Outdated Show resolved Hide resolved
src/landpatterns/BGA/package.stanza Outdated Show resolved Hide resolved
src/landpatterns/BGA/package.stanza Outdated Show resolved Hide resolved
src/landpatterns/BGA/package.stanza Outdated Show resolved Hide resolved
src/landpatterns/BGA/package.stanza Outdated Show resolved Hide resolved
src/landpatterns/BGA/package.stanza Outdated Show resolved Hide resolved
src/landpatterns/BGA/pads.stanza Outdated Show resolved Hide resolved
src/landpatterns/BGA/planner.stanza Outdated Show resolved Hide resolved
This defines the shape and parameters for the copper,
soldermask opening, paste application, etc.
<DOC>
pad-config:PadConfig with:
default => DEF-PAD-CONFIG

; GridPlanner Base
doc: \<DOC>
@title pose
@desc Pose of the landpattern (default is loc(0.0, 0.0))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the one place where this is interesting and adds value. The default argument for both defstruct fields and function arguments is not an easy thing for us to extract from the definitions database. This might be very useful for extracting the default values into the comments and keeping them up to date.

src/landpatterns/BGA/planner.stanza Outdated Show resolved Hide resolved
@bhusang bhusang marked this pull request as draft January 9, 2025 18:19
@bhusang
Copy link
Contributor Author

bhusang commented Jan 9, 2025

@callendorph Check out this version.

@bhusang bhusang marked this pull request as ready for review January 10, 2025 01:28
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