mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 11:59:17 +08:00
Fix up so image links work properly
This commit is contained in:
committed by
Lorenz Meier
parent
02b1048752
commit
5af62c8e49
@@ -28,7 +28,7 @@ class MarkdownTablesOutput():
|
||||
image_name = group.GetImageName()
|
||||
result += '<div>\n'
|
||||
if image_name != 'AirframeUnknown':
|
||||
result += '<img src="../images/airframes/types/%s.svg" width="29%%" style="max-height: 180px;"/>\n' % (image_name)
|
||||
result += '<img src="../../assets/airframes/types/%s.svg" width="29%%" style="max-height: 180px;"/>\n' % (image_name)
|
||||
|
||||
# check if all outputs are equal for the group: if so, show them
|
||||
# only once
|
||||
|
||||
@@ -63,7 +63,7 @@ def main():
|
||||
" (default FILENAME: airframes.xml)")
|
||||
parser.add_argument("-m", "--markdown",
|
||||
nargs='?',
|
||||
const="airframes.md",
|
||||
const="airframe_reference.md",
|
||||
metavar="FILENAME",
|
||||
help="Create Markdown file"
|
||||
" (default FILENAME: airframes_reference.md)")
|
||||
|
||||
Reference in New Issue
Block a user