sphinx-doc.el
sphinx-doc.el copied to clipboard
System fails if type hints are present
As the title says: If type hints are used, sphinx-doc does not work anymore
E.g
def sum(a:int, b:int):
return a+b
Would be great to get this in as typing in python is immensely helpful.
I would suggest something like
def sum(a:int, b:int) -> int:
"""TODO describe function
:param a (:type int):
:param a (:type int)
:returns int:
"""
The return type could be set automatically! :D
This is not yet fixed I assume. Just run into this issue today.