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:
parent
eb11c025c7
commit
36f0e9919f
2 changed files with 31 additions and 4 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue