Undocumented attributes in all Starlark rules: expect_failure, transitive_configs, package_metadata #24948
Labels
P3
We're not considering working on this, but happy to review a PR. (No assignee)
team-Documentation
Documentation improvements that cannot be directly linked to other team labels
team-Rules-API
API for writing rules/aspects: providers, runfiles, actions, artifacts
type: bug
type: documentation (cleanup)
The following attributes exist in all Starlark rules, but are not documented at https://bazel.build/reference/be/common-definitions#common-attributes despite not being marked as undocumented in the attribute's definition
allow_analysis_failures
mechanism instead.I noticed these while working on Stardoc support for symbolic macros that inherit attributes from rules. My current thought is to filter out expect_failure and transitive_configs from the user-visible doc output, and leave package_metadata in the list but undocumented (since it's not clear to me what it does).
CC @aiuto @gregestren @comius
The text was updated successfully, but these errors were encountered: