Skip to content

Commit 042ecc0

Browse files
committed
Add epilog support for subcommands
1 parent 6c9963d commit 042ecc0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sphinxarg/ext.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,10 @@ def print_subcommands(data, nested_content, markDownHelp=False, settings=None):
200200
settings=settings):
201201
sec += x
202202

203+
if 'epilog' in child and child['epilog']:
204+
for element in renderList([child['epilog']], markDownHelp):
205+
sec += element
206+
203207
subCommands += sec
204208
items.append(subCommands)
205209

0 commit comments

Comments
 (0)