mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 05:03:35 +08:00
docs: Fix tool to make enum id anchor not link
This commit is contained in:
@@ -529,7 +529,7 @@ pageClass: is-wide-page
|
|||||||
|
|
||||||
for enumValueName, enumValue in enum.enumValues.items():
|
for enumValueName, enumValue in enum.enumValues.items():
|
||||||
description = f" {enumValue.comment} " if enumValue.comment else " "
|
description = f" {enumValue.comment} " if enumValue.comment else " "
|
||||||
markdown += f'<a href="#{enumValueName}"></a> {enumValueName} | `{enumValue.type}` | {enumValue.value} |{description}\n'
|
markdown += f'<a id="#{enumValueName}"></a> {enumValueName} | `{enumValue.type}` | {enumValue.value} |{description}\n'
|
||||||
|
|
||||||
# Generate table for constants docs
|
# Generate table for constants docs
|
||||||
if len(self.constantFields) > 0:
|
if len(self.constantFields) > 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user