Exclude the "Name" column when the returned value does not have a name #70
Labels
documentation
Improvements or additions to documentation
enhancement
Improvement for an existing feature or system
The
generate-docs
scripts generates a pretty Markdown report that we use in our official docs. The problem is that this report needs some polishing before is easy for use.One issue is related to the "Name" column in table under the "Returned Values" section. When the returned value does not have a name, but the NatSpec comments make a reference to it, in the table we find the first word after the
@return
keyword, which often is "The".To solve this, we should add an
#if
statement, and check whether the returned value has a name or not.The text was updated successfully, but these errors were encountered: