click-contrib / sphinx-click

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

Include subcommands in table of contents #47

Closed jtrakk closed 5 years ago

jtrakk commented 5 years ago

I have a lot of subcommands, so I'd like to show them in the table of contents so they are easy to find. Currently I'm just getting the top-level command in the table of contents. I tried changing the subcommand directive from object to program, but that didn't seem to help. Is it possible to optionally allow subcommands in the table of contents?

jtrakk commented 5 years ago

Turns out it's a theme issue, and alabaster shows subcommands automatically.