VirtualBox

Changeset 68873 in vbox


Ignore:
Timestamp:
Sep 26, 2017 11:02:46 AM (7 years ago)
Author:
vboxsync
Message:

docbook-refentry-to-C-help.xsl: More tweaks.

File:
1 edited

Legend:

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

    r68872 r68873  
    125125        "Usage" },
    126126    {   RTMSGREFENTRYSTR_SCOPE_SAME,
    127         "=====" },
    128     {   RTMSGREFENTRYSTR_SCOPE_SAME,
    129         "" },</xsl:text>
     127        "=====" },</xsl:text>
    130128        <xsl:apply-templates select="./refsynopsisdiv/node()"/>
    131129
     
    197195  <xsl:template match="cmdsynopsis">
    198196    <xsl:if test="text()"><xsl:message terminate="yes"><xsl:call-template name="error-prefix"/>cmdsynopsis with text is not supported.</xsl:message></xsl:if>
     197    <xsl:if test="position() = 1">
     198      <xsl:text>
     199    {   </xsl:text><xsl:call-template name="calc-scope-cmdsynopsis"/><xsl:text> | RTMSGREFENTRYSTR_FLAGS_SYNOPSIS, "" }, </xsl:text>
     200    </xsl:if>
    199201    <xsl:text>
    200202    {   </xsl:text><xsl:call-template name="calc-scope-cmdsynopsis"/><xsl:text> | RTMSGREFENTRYSTR_FLAGS_SYNOPSIS,
     
    294296        "</xsl:text><xsl:call-template name="emit-indentation"/>
    295297    <xsl:value-of select="substring($g_sUnderlineRefSect2, 1, string-length($sTitle))"/>
    296     <xsl:text>" },
    297     {   RTMSGREFENTRYSTR_SCOPE_SAME, "" },</xsl:text>
     298    <xsl:text>" },</xsl:text>
     299
     300<!--    <xsl:if test="./*[name() != 'title']/following::
     301    {   RTMSGREFENTRYSTR_SCOPE_SAME, "y" },</xsl:text>  cmdsynopsis -->
    298302
    299303    <!-- Format the text in the section -->
Note: See TracChangeset for help on using the changeset viewer.

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