click-contrib / sphinx-click

A Sphinx plugin to automatically document click-based applications
MIT License
212 stars 57 forks source link

Add maxdepth option to limit subcommand nesting #109

Open coloursofnoise opened 2 years ago

coloursofnoise commented 2 years ago

I wanted to be able to use the :nested: full display while keeping the documentation for nested sub-commands on separate pages from the main command.

If this is already possible please let me know.

stephenfin commented 3 months ago

@coloursofnoise Wow, I totally missed this. Sorry. If you're still interested in this, I'm happy with the approach proposed. You'll need to rebase this and add docs, a release note and tests. I'm happy to merge this once done.