mirror of
https://github.com/brl/mutter.git
synced 2025-01-24 02:19:15 +00:00
ee9d358c45
Instead of creating stand-alone HTML files, use XSLT to transform the DocBook into a DevHelp file, so that we can read the Cookbook inside DevHelp -- just like the API reference.
20 lines
438 B
XML
20 lines
438 B
XML
<?xml version='1.0'?>
|
|
<!DOCTYPE xsl:stylesheet [
|
|
]>
|
|
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
version='1.0'>
|
|
|
|
<xsl:template match="parameter">
|
|
<xsl:choose>
|
|
<xsl:when test="@role = 'keyword'">
|
|
<xsl:call-template name="inline.boldmonoseq"/>
|
|
</xsl:when>
|
|
<xsl:otherwise>
|
|
<xsl:call-template name="inline.italicmonoseq"/>
|
|
</xsl:otherwise>
|
|
</xsl:choose>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|