mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-26 09:26:25 +08:00
fix(docs): src_parser.py keep empty lines in param desciption (#26656)
This commit is contained in:
@@ -232,6 +232,9 @@ class SourceParser(object):
|
||||
# start waiting for the next part - long comment.
|
||||
if state == "wait-short-end":
|
||||
state = "wait-long"
|
||||
if state == "wait-long-end":
|
||||
# Long description includes empty lines
|
||||
long_desc += "\n"
|
||||
else:
|
||||
m = self.re_comment_tag.match(comment_content)
|
||||
if m:
|
||||
|
||||
Reference in New Issue
Block a user