Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add forgotten arguments
  • Loading branch information
encukou committed Jan 22, 2025
commit e57a37e716684e0af3c21646918d0a69acdb2e0a
2 changes: 1 addition & 1 deletion Doc/tools/extensions/grammar_snippet.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def make_grammar_snippet(self, options, content):
}
match groupdict:
case {'rule_name': name}:
literal += self.make_link_to_token()
literal += self.make_link_to_token(group_name, name)
case {'rule_ref': name}:
ref_node = addnodes.pending_xref(
name,
Expand Down