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

Remove subset of valid values from families attribute documentation #2326

Merged
merged 2 commits into from
Nov 15, 2023

Conversation

BalestraPatrick
Copy link
Member

This is a bit of a documentation nitpick. Rules can have different supported families. The documentation for all rules was hardcoded to mention that valid values are only iphone and ipad which isn't correct when looking at watchos_*, tvos_*, visionos_*, and macos_* rules.

I simply vote for removing the list of valid values from the documentation for _device_family_attrs given it is shared by all rules. We could specifically pass into this attribute the type of rule so that we can adapt the documentation for each platform to mention the allowed values, but I don't think it's really worth the complexity. Most rules only support one family (everything except iOS from my understanding), so people shouldn't really need to touch this attribute.

@BalestraPatrick BalestraPatrick merged commit ead3a35 into bazelbuild:master Nov 15, 2023
7 checks passed
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.

None yet

4 participants