sphinx-doc / sphinx-argparse

A Sphinx extension to automatically document argparse commands and options
https://sphinx-argparse.readthedocs.org/
MIT License
26 stars 24 forks source link

Suppressed default arguments are still visible #54

Closed michele-riva closed 5 days ago

michele-riva commented 1 month ago

In some occasions (e.g., with action='version'), an unexpected argument default is rendered as

Default: '==SUPPRESS=='

I have created #53 to fix this.

Tests are currently failing on 3.7 because an incompatible version of packaging seems to be installed via poetry. I'd need a little help as I'm not familiar with poetry.

michele-riva commented 5 days ago

I guess this can be closed now that #53 is merged.