mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-29 19:57:12 +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.
|
# start waiting for the next part - long comment.
|
||||||
if state == "wait-short-end":
|
if state == "wait-short-end":
|
||||||
state = "wait-long"
|
state = "wait-long"
|
||||||
|
if state == "wait-long-end":
|
||||||
|
# Long description includes empty lines
|
||||||
|
long_desc += "\n"
|
||||||
else:
|
else:
|
||||||
m = self.re_comment_tag.match(comment_content)
|
m = self.re_comment_tag.match(comment_content)
|
||||||
if m:
|
if m:
|
||||||
|
|||||||
Reference in New Issue
Block a user