-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PyQIR generator documentation is incomplete #62
Comments
I looked around but indeed found no way to generate docs from But I feel like this is possible from "docstrings" included in the Rust source itself. The Fastobo project seems to have achieved this. For instance, with the Their |
@SamarSha @cgranade - What @LaurentAjdnik shows here is pretty interesting. Do you have any thoughts on this? Might be a better option than hoping sphinx adds |
Rust doc comments will get attached as Python docstrings, but I think we'll still need to duplicate the types in both the docstring and the .pyi file. I'm also not sure how it will work when referring to Mypy type aliases defined in Python. |
The documentation at https://qir-alliance.github.io/pyqir/api-reference/generator.html is missing parameters, types and docstrings. This is likely because Sphinx can't read .pyi files for autodoc sections: sphinx-doc/sphinx#7630
The text was updated successfully, but these errors were encountered: