You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Clize supports docstrings in docutils/Sphinx format and in its own legacy docstring format.
This could be done in one of two ways:
Sphinx includes a 'napoleon' extension that converts docstrings in Numpy and Google style to something that docutils can process. We may be able to use it for this purpose. If so we need to ask about API stability with them
If the above solution is too overkill, maybe we can implement our own converter.
The text was updated successfully, but these errors were encountered:
Came to this issue because Clize looks pretty nice but all my docstrings are in Numpy format. The current library that I use for CLI is 'mando' which went the sphinx napoleon route. There are a lot of dependencies to make that happen.
There is however a much nicer solution by going with something like https://github.com/rr-/docstring_parser which parses REST, Google, and Numpy docstrings. Pure python, no additional dependencies.
Currently Clize supports docstrings in docutils/Sphinx format and in its own legacy docstring format.
This could be done in one of two ways:
The text was updated successfully, but these errors were encountered: