You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to generate docs (with mkdocstrings + Griffe) for some Rust structs like the one below:
/// Some Object O#[gen_stub_pyclass]#[pyclass(get_all)]structO{/// Some valuevalue:u32,}#[gen_stub_pymethods]#[pymethods]implO{/// Extra value#[getter]pubfnextra(&self) -> u32{0}}
This generates something like:
classO:
r''' Some Object O '''value: intextra: int
It would be helpful if we collect the documentation from fields/getter methods and aggregate them into one single docstring:
r'''Some Object OAttributes: value: Some value extra: Extra value'''
I'm not sure if this feature would be out of scope of this crate or not, if so, please free feel to close this issue.
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to generate docs (with
mkdocstrings
+Griffe
) for some Rust structs like the one below:This generates something like:
It would be helpful if we collect the documentation from fields/getter methods and aggregate them into one single docstring:
I'm not sure if this feature would be out of scope of this crate or not, if so, please free feel to close this issue.
The text was updated successfully, but these errors were encountered: