mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 10:46:33 +08:00
module markdownout - explicit anchor not heading
This commit is contained in:
@@ -72,7 +72,7 @@ The generated files will be written to the `modules` directory.
|
|||||||
result += "%s\n" % doc
|
result += "%s\n" % doc
|
||||||
usage_string = module.usage_string()
|
usage_string = module.usage_string()
|
||||||
if len(usage_string) > 0:
|
if len(usage_string) > 0:
|
||||||
result += "### Usage {#%s_usage}\n```\n%s\n```\n" % (module.name(), usage_string)
|
result += '<a id="%s_usage"></a>\n### Usage\n```\n%s\n```\n' % (module.name(), usage_string)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def Save(self, dirname):
|
def Save(self, dirname):
|
||||||
|
|||||||
Reference in New Issue
Block a user