We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
has someone figured out how to see the individual docstrings of overloaded functions in Sphinx using autodoc?
autodoc
Stubgen properly has per-method doc strings https://github.com/AMReX-Codes/pyamrex/blob/793ede5ab721e76f3fa547ae86249a1120f6bfb3/src/amrex/space3d/amrex_3d_pybind/__init__.pyi#L5155-L5208
as provided by my pybind11 overloads https://github.com/AMReX-Codes/pyamrex/blob/793ede5ab721e76f3fa547ae86249a1120f6bfb3/src/Base/MultiFab.cpp#L503-L547
But Sphinx
.. autoclass:: amrex.space3d.MultiFab :members: :undoc-members:
does end up with this https://pyamrex.readthedocs.io/en/latest/usage/api.html#amrex.space3d.MultiFab.plus
Does anyone know how to show the per-overload doc strings instead? :)
The text was updated successfully, but these errors were encountered:
Is that sphinx-doc/sphinx#7787 ?
Sorry, something went wrong.
No branches or pull requests
Hi,
has someone figured out how to see the individual docstrings of overloaded functions in Sphinx using
autodoc
?Stubgen properly has per-method doc strings
https://github.com/AMReX-Codes/pyamrex/blob/793ede5ab721e76f3fa547ae86249a1120f6bfb3/src/amrex/space3d/amrex_3d_pybind/__init__.pyi#L5155-L5208
as provided by my pybind11 overloads
https://github.com/AMReX-Codes/pyamrex/blob/793ede5ab721e76f3fa547ae86249a1120f6bfb3/src/Base/MultiFab.cpp#L503-L547
But Sphinx
does end up with this
https://pyamrex.readthedocs.io/en/latest/usage/api.html#amrex.space3d.MultiFab.plus
Does anyone know how to show the per-overload doc strings instead? :)
The text was updated successfully, but these errors were encountered: