VirtualBox

Ignore:
Timestamp:
Mar 22, 2023 3:45:33 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
156483
Message:

manual: Revised r156481 a bit, since nested args are used in different ways, so must require role=compact for complicated arguments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/docbook-refentry-to-C-help.xsl

    r99116 r99118  
    269269        <xsl:when test="parent::group and ancestor::*[@role='compact']"><xsl:value-of select="$arg.or.sep.compact"/></xsl:when>
    270270        <xsl:when test="parent::group"><xsl:value-of select="$arg.or.sep"/></xsl:when>
    271         <xsl:when test="parent::arg"></xsl:when>
     271        <xsl:when test="ancestor::*[@role='compact']"></xsl:when>
    272272        <xsl:when test="ancestor::*/@sepchar"><xsl:value-of select="ancestor::*/@sepchar"/></xsl:when>
    273273        <xsl:otherwise><xsl:text> </xsl:text></xsl:otherwise>
     
    304304        <xsl:when test="@choice = 'req'">               <xsl:value-of select="$arg.choice.req.close.str"/></xsl:when>
    305305      </xsl:choose>
     306      <!-- Add a space padding if we're the last element in a repeating arg or group -->
     307      <!-- 2023-03-22 bird: This is incorrectly written. Fix as needed...
     308      <xsl:if test="(parent::arg or parent::group) and not(following-sibiling) and not(ancestor::*[@role='compact'])">
     309        <xsl:text> </xsl:text>
     310      </xsl:if>
     311      -->
    306312    </xsl:if>
    307313  </xsl:template>
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette