You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…ng space
So far, DocFieldTransformer splits the field name for `:type:` and
`:param:` at the first whitespace. But it does not allow to use
types containing whitespace (ex. `Dict[str, str]`).
This changes the spliting logic to divide the field name at the last
whitespace (a.k.a `rstrip()`). It allows to use whitespaces on the
types.
Describe the bug
I have a parameter defined under docstring of a method as:-
:param dict(str, str) opc_meta: (optional)
Which is being incorrectly rendered in the generated docs as:-
str) opc_meta (dict(str,) –(optional)
To Reproduce
Create any method with the docstring containg the above param
Expected behavior
The param should be rendered in the generated docs as:-
opc_meta (dict(str,str)) – (optional)
Your project
sphinxTest.zip
Screenshots
Environment info
Additional context
N/A
The text was updated successfully, but these errors were encountered: