Stardoc protos and ModuleInfoExtractor / starlark_doc_extract should export parameter type annotations for builtin functions #21979
Labels
P2
We'll consider working on this in future. (Assignee optional)
team-Starlark-Integration
Issues involving Bazel's integration with Starlark, excluding builtin symbols
type: feature request
If we want to documenting builtin functions using ModuleInfoExtractor / starlark_doc_extract (e.g. for the BUILD language API pages of the build encyclopedia), we need to support annotations for parameter types - since builtin functions (unlike ordinary Starlark-defined functions) have them.
The proto representation of type annotations we pick needs to be flexible enough for future needs - there is community pressure to add type annotations to ordinary Starlark-defined functions too.
Two reasonable possibilities are
The text was updated successfully, but these errors were encountered: