Tweak HV1 help styling and image elements.

pull/1469/head
Dean Camera 12 years ago
parent cf8ec8967e
commit 5dba028aa5

@ -53,7 +53,7 @@
</xsl:call-template> </xsl:call-template>
</xsl:variable> </xsl:variable>
<book name="{$book.id}"> <book id="{$book.id}">
<title> <title>
<xsl:value-of select="$book.title"/> <xsl:value-of select="$book.title"/>
</title> </title>
@ -747,22 +747,16 @@
</xsl:template> </xsl:template>
<xsl:template match="image"> <xsl:template match="image">
<figure> <mediaobject>
<title> <imageobject>
<xsl:value-of select="."/> <imagedata>
</title> <xsl:attribute name="fileref">
<xsl:text>images/</xsl:text>
<mediaobject> <xsl:value-of select="@name"/>
<imageobject> </xsl:attribute>
<imagedata> </imagedata>
<xsl:attribute name="fileref"> </imageobject>
<xsl:text>images/</xsl:text> </mediaobject>
<xsl:value-of select="@name"/>
</xsl:attribute>
</imagedata>
</imageobject>
</mediaobject>
</figure>
</xsl:template> </xsl:template>
<xsl:template match="detaileddescription"> <xsl:template match="detaileddescription">

@ -20,7 +20,7 @@
font-family: "Consolas", "Courier New", sans-serif; font-family: "Consolas", "Courier New", sans-serif;
} }
.note { .note, .warning, .tip {
display: block; display: block;
margin-left: 15px; margin-left: 15px;
padding-left: 10px; padding-left: 10px;

@ -86,6 +86,8 @@ $(MSHELP_OUTPUT_XML): $(DOXYGEN_COMBINED_XML)
@echo Converting Doxygen XML to Docbook... @echo Converting Doxygen XML to Docbook...
@-mkdir mshelp 2> /dev/null @-mkdir mshelp 2> /dev/null
@xsltproc HV1/lufa_docbook_transform.xsl $(DOXYGEN_COMBINED_XML) > mshelp/lufa_docbook.xml @xsltproc HV1/lufa_docbook_transform.xsl $(DOXYGEN_COMBINED_XML) > mshelp/lufa_docbook.xml
@echo Converting Docbook to Microsoft Help 1.0...
@cd mshelp && xsltproc $(MSHELP_GEN_PARAMS) ../Docbook/mshelp/docbook.xsl lufa_docbook.xml @cd mshelp && xsltproc $(MSHELP_GEN_PARAMS) ../Docbook/mshelp/docbook.xsl lufa_docbook.xml
@echo Copying help assets... @echo Copying help assets...

Loading…
Cancel
Save