diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-04-23 17:54:17 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-04-23 17:54:17 +0000 |
commit | 5dba028aa529ef4426f08e5e0e8a1c1e8a49b8a7 (patch) | |
tree | 0e29a1e296b8a84bfcac4bf79cca76d2b5c939d5 /LUFA/StudioIntegration | |
parent | cf8ec8967eab1e3fbaf096d6a44aa8c389ee1532 (diff) | |
download | lufa-5dba028aa529ef4426f08e5e0e8a1c1e8a49b8a7.tar.gz lufa-5dba028aa529ef4426f08e5e0e8a1c1e8a49b8a7.tar.bz2 lufa-5dba028aa529ef4426f08e5e0e8a1c1e8a49b8a7.zip |
Tweak HV1 help styling and image elements.
Diffstat (limited to 'LUFA/StudioIntegration')
-rw-r--r-- | LUFA/StudioIntegration/HV1/lufa_docbook_transform.xsl | 28 | ||||
-rw-r--r-- | LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css | 2 | ||||
-rw-r--r-- | LUFA/StudioIntegration/makefile | 2 |
3 files changed, 14 insertions, 18 deletions
diff --git a/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xsl b/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xsl index c51944ba9..4247b475d 100644 --- a/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xsl +++ b/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xsl @@ -53,7 +53,7 @@ </xsl:call-template> </xsl:variable> - <book name="{$book.id}"> + <book id="{$book.id}"> <title> <xsl:value-of select="$book.title"/> </title> @@ -747,22 +747,16 @@ </xsl:template> <xsl:template match="image"> - <figure> - <title> - <xsl:value-of select="."/> - </title> - - <mediaobject> - <imageobject> - <imagedata> - <xsl:attribute name="fileref"> - <xsl:text>images/</xsl:text> - <xsl:value-of select="@name"/> - </xsl:attribute> - </imagedata> - </imageobject> - </mediaobject> - </figure> + <mediaobject> + <imageobject> + <imagedata> + <xsl:attribute name="fileref"> + <xsl:text>images/</xsl:text> + <xsl:value-of select="@name"/> + </xsl:attribute> + </imagedata> + </imageobject> + </mediaobject> </xsl:template> <xsl:template match="detaileddescription"> diff --git a/LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css b/LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css index 892c0ef93..6a4aca015 100644 --- a/LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css +++ b/LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css @@ -20,7 +20,7 @@ font-family: "Consolas", "Courier New", sans-serif;
}
-.note {
+.note, .warning, .tip {
display: block;
margin-left: 15px;
padding-left: 10px;
diff --git a/LUFA/StudioIntegration/makefile b/LUFA/StudioIntegration/makefile index bf89beaa2..c86d2c560 100644 --- a/LUFA/StudioIntegration/makefile +++ b/LUFA/StudioIntegration/makefile @@ -86,6 +86,8 @@ $(MSHELP_OUTPUT_XML): $(DOXYGEN_COMBINED_XML) @echo Converting Doxygen XML to Docbook... @-mkdir mshelp 2> /dev/null @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 @echo Copying help assets... |