
The _format_doc function filters out fields from the docstring when generating Sphinx documentation but does not account for a case where there may be blank lines between fields. As a result, only the last group of fields may be filtered out. This fix filters out all lines which are fields. Closes-Bug: #2097310 Change-Id: I7e702b82b4d2ce20520479d8a8210be36bfbdd5e