feat: easily construct function signature #381
feat: easily construct function signature #381pawamoy merged 8 commits intomkdocstrings:mainfrom ISOR3X:feat/function-signature
Conversation
|
Those errors do not seem to come from my code so I am not sure what to do. This is one of my first time contributing to open sources projects to I might need some guidance here. |
|
Thanks a lot for your PR @ISOR3X! The errors I see in the CI logs do seem to come from your changes: you removed the You also added spacing changes that are irrelevant to the feature here (added tabulations), could you revert these? You can run |
|
Fixed the formatting but the CI still seems to fail... Also |
|
I was worried that this was forgotten, glad to see it's not! |
Added a
construct_signaturefunction to theFunction class. This closely follows the way the jinja template works for the mkdocstrings python handlerThe reason behind this PR is because I want to try to integrate python api docs into a vitepress website, but I also noticed both
griffe2mdandmkdocstrings/python/have similar logic for building a function signature. Perhaps this code could replace that.REF: #376