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
blockedSomething is in the way of fixing this. Refer to it in the issuedocsImprovements or additions to documentationenhancementImprovement planned or wanted by the maintainershackathonFor our in-person hackathons with maintainers present, not a general up-for-grabs list
We would like to avoid repetition of parameters in abstract classes and children which inherit from them. This would require merging the "Args: " sections of the respective strings. We could write our own function/decorator to do that. Alternatively, we could potentially contribute this functionality to custom_inherit, a package which tackles the problem of docstring inheritance supporting numerous docstring styles including ours, see: Within-Field Docstring Merging rsokl/custom_inherit#25
@pawamoy Thanks a lot! Gave it a try, and inheritance is working now 🚀
There is one issue remaining before making use of it: With inheritance in place, __call__ gets listed before __init__ due to alphabetical sorting. This might be confusing to users, so I'll probably wait for mkdocstrings/mkdocstrings#102, mkdocstrings/pytkdocs#29 before adopting
Context for hackathon: I created a PR draft that addresses this but needs further work. I suggest reading the #964 description and understand the concept of mkdocs and mkdocstring via the comments here, and then continue working on #964.
blockedSomething is in the way of fixing this. Refer to it in the issuedocsImprovements or additions to documentationenhancementImprovement planned or wanted by the maintainershackathonFor our in-person hackathons with maintainers present, not a general up-for-grabs list
Activity
jan-matthis commentedon Jun 16, 2020
This might be an alternative plugin to use for API docs, just came out a few days ago: https://github.com/daizutabi/mkapi
pawamoy commentedon Jun 22, 2020
@jan-matthis mkdocstrings now support inheritance, if you want to give it a try 🙂
jan-matthis commentedon Jun 23, 2020
@pawamoy Thanks a lot! Gave it a try, and inheritance is working now 🚀
There is one issue remaining before making use of it: With inheritance in place,
__call__gets listed before__init__due to alphabetical sorting. This might be confusing to users, so I'll probably wait for mkdocstrings/mkdocstrings#102, mkdocstrings/pytkdocs#29 before adopting[-]Improve docstrings in API docs[/-][+]Automaticity for building API docs[/+]janfb commentedon Mar 1, 2024
Context for hackathon: I created a PR draft that addresses this but needs further work. I suggest reading the #964 description and understand the concept of
mkdocsandmkdocstringvia the comments here, and then continue working on #964.janfb commentedon Jul 22, 2024
most issues are addressed in #1147 : We add a GH workflow that converts the tutorial and example notebooks and builds the docs upon every new release.
janfb commentedon Aug 23, 2024
docs are now built automatically including notebook conversion, using
mikeand GH actions. See #1181