Skip to content

Commit 79ffbe1

Browse files
authored
Merge pull request #2 from Blaok/main
Fix anchor for toc
2 parents 37b814c + 546b716 commit 79ffbe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sphinxarg/ext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def print_action_groups(data, nested_content, markdown_help=False, settings=None
9292
if 'action_groups' in data:
9393
for action_group in data['action_groups']:
9494
# Every action group is comprised of a section, holding a title, the description, and the option group (members)
95-
section = nodes.section(ids=[action_group['title']])
95+
section = nodes.section(ids=[action_group['title'].replace(' ', '-').lower()])
9696
section += nodes.title(action_group['title'], action_group['title'])
9797

9898
desc = []

0 commit comments

Comments
 (0)