Closed braniii closed 5 days ago
Hi, thanks :heart: !
Are you sure you're using pytkdocs, through the mkdocstriings-python-legacy handler? The behavior you witness would make perfect sense if you're using the mkdocstrings-python handler, which only visits the AST and does not inspect code loaded in memory.
Thanks for your reply and I've confused the repos, so you are right! I am using the new python handler. Should I create a new issue at the correct repo, or is it a know issue?
It is not an issue per se, but the way to make it work is not documented yet (I'm working on it) :)
We now have a small how-to on how to support custom decorators: https://mkdocstrings.github.io/griffe/guide/users/how-to/support-decorators/.
Thank you so much for your time and effort :)
Hi,
I've currently switched to mkdocs and I have have to say that this is an amazing project :)
But there are a few minor issues I did not manage to resolve on my own. I am using a simple self-written decorator from decorit which copies the
Parameters
section from a function to another. The function looks like the following:Printing the names, the docstring is copied as expected. But using it with mkdocs, it shows me only the original docstring of
gunc
. Includingfunctools.wrap
did not change the result.Thank you for your help. Best, Daniel