click-contrib / sphinx-click

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

Don't show hidden commands in toctree #48

Closed jtrakk closed 4 years ago

jtrakk commented 5 years ago

Hidden commands still appear in the table of contents. This PR is intended to remove them from the toctree.

codecov-io commented 5 years ago

Codecov Report

Merging #48 into master will decrease coverage by 17.91%. The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #48       +/-   ##
===========================================
- Coverage   72.24%   54.33%   -17.92%     
===========================================
  Files           1        1               
  Lines         209      300       +91     
  Branches       57      108       +51     
===========================================
+ Hits          151      163       +12     
- Misses         48      136       +88     
+ Partials       10        1        -9
Impacted Files Coverage Δ
sphinx_click/ext.py 54.33% <0%> (-17.92%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update cbb1c62...d64ab29. Read the comment docs.

stephenfin commented 4 years ago

Thanks, and sorry for the delay looking at this. Pushed with a minor tweak.