autowrap icon indicating copy to clipboard operation
autowrap copied to clipboard

[Typing] Add code docs also to type stubs

Open jpfeuffer opened this issue 2 years ago • 1 comments

Currently, we write it to the pxd only. But since pyi typestubs overwrite signatures and docs for most IDEs, we should additionally put the docs to the typestubs. Maybe we can even remove them from the pxds but this can be optional for now (I did not think it through).

jpfeuffer avatar Apr 14 '22 13:04 jpfeuffer

Unfortunately, documentation tools (e.g. Sphinx) do not support type stubs well, so we should keep docstrings in pxd for now.

jpfeuffer avatar Sep 29 '22 17:09 jpfeuffer