Generate missing docs for out arguments

The reStructuredText generator is missing the documentation blocks for
out arguments.
This commit is contained in:
Emmanuele Bassi 2023-08-28 16:17:15 +01:00
parent ac9bcd1c1d
commit 5f33ae8901

View File

@ -231,6 +231,13 @@ class RstCodeGenerator:
f" {arg_desc}", f" {arg_desc}",
"", "",
] ]
for a in m.out_args:
arg_desc = self._expand(a.doc_string, True)
res += [
f"{a.name}",
f" {arg_desc}",
"",
]
res += [""] res += [""]
if m.since: if m.since:
res += [ res += [