dn2osdbk: support the :command: inline markup
This sphinx markup will be converted to a <command> docbook tag. Change-Id: I1b3c8eac7b70db41cb47f0a8158c93a56e8990fd
This commit is contained in:
parent
b7cb32e44c
commit
cb86eed9dc
@ -415,12 +415,20 @@ INLINETAGS
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="strong">
|
||||
<emphasis>
|
||||
<xsl:attribute name="role">
|
||||
<xsl:value-of select="'strong'"/>
|
||||
</xsl:attribute>
|
||||
<xsl:apply-templates/>
|
||||
</emphasis>
|
||||
<xsl:choose>
|
||||
<xsl:when test="@classes='command'">
|
||||
<command>
|
||||
<xsl:apply-templates/>
|
||||
</command>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<emphasis>
|
||||
<xsl:attribute name="role">
|
||||
<xsl:apply-templates/>
|
||||
</xsl:attribute>
|
||||
</emphasis>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="literal">
|
||||
|
Loading…
Reference in New Issue
Block a user