Revision d505bc48
ID | d505bc4849f7e910992a4e29f841fd0d5d346720 |
Fix doc bug introduced in 12637df
Commit 12637df changed/generalised how we build fields in the sphinx
extension, however it resulted in this uncaught-so-far result:
$ echo QUERY_FIELDS_GROUP
| ./autotools/docpp
<generator object BuildValuesDoc at 0x28fd370>
There's no point in yield-ing a single value (as opposed to a stream
of values), so let's just "return" it.
By the way, there's no test for this kind of error, but I don't think
it would happen too often, so I didn't add one (e.g. grep "<.* at
0x[0-9a-f]+>" man/*.[178]).
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Files
- added
- modified
- copied
- renamed
- deleted