Open lwpiotr opened 1 year ago
Also observing this in poliastro (thanks @humitos) https://github.com/poliastro/poliastro/pull/1569
I also miss this feature a lot (the documentation of dataclasses, namedtuples etc. comes out empty when I use this syntax). I'm surprised this isn't provided by the napoleon
sphinx extension (but perhaps sphinx-autoapi uses an independent parser...)
Hi! Do you have any plans to implement this in future releases?
It would be really great if autoapi would support this Sphinx feature...
+1 on this! I would love to be able to document my class and instance variables with any of the 3 following styles, all of which are supported by sphinx.ext.autodoc
class MyClass:
#: documentation
var: int = 500
var2: int = 500 #: documentation 2
var3: int = 500
"""documentation 3"""
I'd ❤️ to see this feature land! 🙏
Hello,
Sphinx allows for documenting comments starting with "#:", above or just after the variable. I am not able to use such comments with Read the Docs autoapi, which is a shame. Would it be possible to add their handling to the package?