We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2600493 + dcf0511 commit c1ee2e7Copy full SHA for c1ee2e7
sphinxdocs/src/sphinx_bzl/bzl.py
@@ -390,8 +390,12 @@ def _make_xrefs_for_arg_attr(
390
descr=index_description,
391
),
392
393
- # This allows referencing an arg as e.g `funcname.argname`
394
- alt_names=[anchor_id],
+ alt_names=[
+ # This allows referencing an arg as e.g `funcname.argname`
395
+ anchor_id,
396
+ # This allows referencing an arg as simply `argname`
397
+ arg_name
398
+ ],
399
)
400
401
# Two changes to how arg xrefs are created:
0 commit comments