Skip to content

Commit

Permalink
MAV_CMDs - put param labels next to index (mavlink#1192)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishwillee authored Aug 6, 2019
1 parent 76b864c commit a002b21
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions doc/mavlink_to_html_table_gitbook.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
<table class="sortable">
<thead>
<tr> <!-- mavlink_field_header -->
<th>Param</th>
<th>Param (:Label)</th>
<th>Description</th>

<xsl:if test='*/@enum or */@minValue or */@maxValue or */@increment'>
Expand Down Expand Up @@ -182,10 +182,12 @@

<xsl:template match="//param" mode="params">
<tr>
<td><xsl:value-of select="@index" /> </td> <!-- mission_param -->
<td><xsl:value-of select="@index" />
<xsl:if test='@label'>: <xsl:value-of select="@label" /></xsl:if>
</td> <!-- mission_param -->

<td><xsl:value-of select="." />
<xsl:if test='@label or @decimalPlaces'><br /><strong>GCS display settings:</strong>
<xsl:if test='@decimalPlaces'><br /><strong>GCS display settings:</strong>
<xsl:if test='@label'><em>Label:</em> <xsl:value-of select="@label" />, </xsl:if>
<xsl:if test='@decimalPlaces'><em>decimalPlaces:</em> <xsl:value-of select="@decimalPlaces" /></xsl:if>
</xsl:if>
Expand Down

0 comments on commit a002b21

Please sign in to comment.