Skip to content

sphinxdocs: allow unqualified arg/attr name for xref #2896

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

Merged

Conversation

rickeylev
Copy link
Collaborator

It's common to simply refer to an arg or attribute by its sole name, especially for
ones that are unique.

This fixes about ~20 broken xrefs in our docs. Also add test for this behavior.

@rickeylev rickeylev requested review from groodt and dougthor42 May 17, 2025 22:25
@rickeylev rickeylev requested a review from aignas as a code owner May 17, 2025 22:25
@rickeylev rickeylev enabled auto-merge May 17, 2025 22:25
@rickeylev rickeylev added this pull request to the merge queue May 17, 2025
Merged via the queue into bazel-contrib:main with commit dcf0511 May 18, 2025
3 checks passed
@rickeylev rickeylev deleted the sphinxdocs.allow.argname.xref branch May 18, 2025 00:10
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.

2 participants