From 229b49e88d8884347c4bdce4003e506f5e675ff7 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 20 Dec 2014 03:23:55 +0100 Subject: [PATCH] add support for nested arguments. --- doc/exts/sphinxarg/ext.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/exts/sphinxarg/ext.py b/doc/exts/sphinxarg/ext.py index 4015955..464691b 100644 --- a/doc/exts/sphinxarg/ext.py +++ b/doc/exts/sphinxarg/ext.py @@ -136,7 +136,8 @@ def print_subcommand_list(data, nested_content): my_def.append(nodes.literal_block(text=child['usage'])) my_def.append(print_command_args_and_opts( print_arg_list(child, nested_content), - print_opt_list(child, nested_content) + print_opt_list(child, nested_content), + print_subcommand_list(child, nested_content) )) items.append( nodes.definition_list_item(