Closed greyli closed 3 years ago
Hey @greyli ! Thanks for your input! Indeed, that does not make sense. I wonder, whether this is a problem of autodocsumm or autosummary.
What do you get when you include
.. autosummary::
marshmallow.validate.And
?
It's the same as the old output:
Source: https://github.com/marshmallow-code/marshmallow/blob/dev/docs/marshmallow.validate.rst
I think this may be related to https://github.com/sphinx-doc/sphinx/issues/6311, but that issue seems fixed by https://github.com/sphinx-doc/sphinx/pull/6353. Do you think I should report it to Sphinx? I'm a bit confused with autosummary and autodocsumm, sorry.
hey @greyli! yes, this is definitely an issue for the sphinx-doc repository and you should make sure that you use the latest version of sphinx.
I am closing this then.
I see, thanks!
Hi, thanks for the cool project. It seems that the type annotations for the class arguments are not rendered properly. Catch this in Marshmallow docs: https://marshmallow.readthedocs.io/en/stable/marshmallow.validate.html
Take the first
And
class as an example. Here is the raw definition:Expected output:
Actual output: