Replies: 1 comment
-
I don't think sphinx autodoc supports You could try sphinx-autoapi. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I am attempting to follow the "if you need other python files" layout in the docs appendix, but have been completely unsuccessful getting the stub file to take precedence over the builtin definition. That is,
myfunction.__doc__
returns the rust docstring rather than what's in the.pyi
. This also means thatsphinx
cannot correctly generate autodocs.So, is there a good example project that demonstrates how to correctly use stub files?
For reference, my existing nonworking project is located here: https://github.com/pluots/stringmetrics/tree/5e494f0969b2b6dbc189696fc59365c8c2272032/crates/stringmetrics_py, which has an identical layout to what is in the docs.
Beta Was this translation helpful? Give feedback.
All reactions