XGA
XGA copied to clipboard
Property setters are not included in sphinx autodoc
The docstrings of property setters are ignored by sphinx autodoc, only possible 'solution' I've found is:
https://stackoverflow.com/questions/71713284/types-of-setter-arguments-not-showing-in-sphinx-documentation
Don't know how I missed this over the last 2 years!
This is also a much more serious problem, because in jupyter notebooks, only the getter docstring is fetched when you shift+tab to get docs up - really need to address this.
I think the only way to do sort this is to rewrite all the property getter docstrings to include the setter info as well (gulp, there are so many)