VirtualBox

Changeset 56189 in vbox


Ignore:
Timestamp:
Jun 1, 2015 3:39:26 PM (10 years ago)
Author:
vboxsync
Message:

Make HTML help prettier. Small CSS adjustments for online HTML.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/docbook-htmlhelp-formatcfg.xsl

    r31972 r56189  
    77<xsl:include href="$TARGETPATH/titlepage-htmlhelp.xsl"/>
    88
     9<!-- for some reason, the default docbook stuff doesn't wrap simple <arg> elements
     10     into HTML <code>, so with a default CSS a cmdsynopsis ends up with a mix of
     11     monospace and proportional fonts.  Elsewhere we hack that in the CSS, here
     12     that turned out to be harded, so we just wrap things in <code>, risking
     13     nested <code> elements, but who cares as long as it works... -->
     14<xsl:template match="group|arg">
     15    <xsl:choose>
     16        <xsl:when test="name(..) = 'arg' or name(..) = 'group'">
     17            <xsl:apply-imports/>
     18        </xsl:when>
     19        <xsl:otherwise>
     20            <code><xsl:apply-imports/></code>
     21        </xsl:otherwise>
     22    </xsl:choose>
     23</xsl:template>
     24
    925</xsl:stylesheet>
     26
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