Closed graik closed 3 years ago
Hi @graik,
Pyment is supposed to manage raise
and thus to convert from reST to google.
Can you provide an example? I will try to fix this.
I close this issue as raise seems to work. For instance:
def func1(param1):
"""Description
:param param1: foo
:raises Exception: my exception
:returns: the return value
"""
pass
Will produce:
def func1(param1):
"""Description
- :param param1: foo
- :raises Exception: my exception
- :returns: the return value
+ Args:
+ param1: foo
+
+ Returns:
+ the return value
+
+ Raises:
+ Exception my exception
+
"""
pass
feature request: convert
:raise
reST statement toRaises:
section in google doc style.