Repository navigation
Set Command __doc__ string from the callback so Sphinx docs look nicer - #234
Conversation
Signed-off-by: Ray Lehtiniemi <[email protected]>
|
👍 |
|
👍 , although I think it's still going to miss the arguments. But far better then the current state. |
|
The effort should rather go into a sphinx extension that is able to deal with commands properly (providing Also, I don't think it's a semantically correct thing to set the docstring on this function, because I'll leave this open because it might be useful for others though. |
|
I'm somewhat okay with that, so I'm going to merge it. That said, @untitaker is right about that this probably is better solved with an extension. |
Set Command __doc__ string from the callback so Sphinx docs look nicer
Signed-off-by: Ray Lehtiniemi [email protected]