Closed mtribiere closed 3 weeks ago
That exists because of https://github.com/click-contrib/sphinx-click/pull/134. As that PR noted, you can't set help text for Arguments in Click but you can subclass that and create your own argument types. I'd encourage you to do the same if necessary. I don't see us adding additional parsing of docstrings here.
https://github.com/click-contrib/sphinx-click/blob/7f29172b10d4dc251af414ae01e38c3b970686a1/sphinx_click/ext.py#L222
If I understand correctly, arguments in Click cannot have a
help
field. If so, how is possible to document such arguments instead of just havingRequire argument
.Would an approach similar to autodoc be possible?