Skip to content

Commit d9261ad

Browse files
committed
Fix :hide-header: behavior with full nesting
The usage was removed when :hide-header: was used with full nesting before. This should make it behave the same as it does with short nesting.
1 parent b01e470 commit d9261ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sphinx_click/ext.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -483,9 +483,9 @@ def _format_summary(
483483
for line in _format_header(ctx):
484484
yield line
485485

486-
# usage
487-
for line in _format_usage(ctx):
488-
yield line
486+
# usage
487+
for line in _format_usage(ctx):
488+
yield line
489489

490490
for line in _format_subcommand_summary(ctx, commands):
491491
yield line

0 commit comments

Comments
 (0)