Add parameter direction to doxygen pydoc output

For doxygen comments that specify parameter direction (i.e.,
\param[in], \param[out], and \param[in,out]), the direction is
appended to the type definition in the generated Python documentation.

Updated expected python output for doxygen test case.
This commit is contained in:
John McFarland 2019-08-03 10:28:28 -05:00
commit 36f0e9919f
2 changed files with 31 additions and 4 deletions

View file

@ -210,11 +210,11 @@ Maybe even multiline
:type a: int
:param a: the first param
:type b: int
:type b: int, in
:param b: parameter with intent(in)
:type c: int
:type c: int, out
:param c: parameter with intent(out)
:type d: int
:type d: int, in/out
:param d: parameter with intent(in,out)""")
comment_verifier.check(inspect.getdoc(doxygen_translate_all_tags.func08),