click-contrib / sphinx-click

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

Make show-nested more granualar #62

Closed WhyNotHugo closed 4 years ago

WhyNotHugo commented 4 years ago

I want to entirely hide commands (and render them elsewhere) because of how my documentation is structured.

This change allows a more flexible show-nested, but retains backwards-compatibility to avoid breaking any existing integrations.

I'm happy to iterate on this if you feel there are improvements to be made to my approach.

WhyNotHugo commented 4 years ago

Gonna address the tests and then re-open.

stephenfin commented 4 years ago

Any updates on this? :smile:

stephenfin commented 4 years ago

I applied the fixes I requested above and merged this as 43ae645f473ce7ae3a3563480a1a11bbf956fc17. Will be included in 2.5.0