bazelbuild / stardoc

Stardoc: Starlark Documentation Generator
Apache License 2.0
103 stars 40 forks source link

Support `*`, `*args`, and `**kwargs` as parameter names in proto input #227

Closed tetromino closed 1 month ago

tetromino commented 1 month ago

Requires Bazel support to generate function info protos with such parameter names, though.

Working towards https://github.com/bazelbuild/stardoc/issues/226

tetromino commented 1 month ago

On further thought - we do not want to change the name of the parameters in proto output, since it would be a backwards-incompatible change.

Instead, we need to add a way to specify a parameter's syntactic role via an enum.