diff options
author | Johan Dahlin <johan@src.gnome.org> | 2006-08-06 19:17:57 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2006-08-06 19:17:57 +0000 |
commit | 64bc3928b2b4b7aad281fea52dff62a34d0dbb02 (patch) | |
tree | 118f281b622fe0639a57ecfb6539cecbb134f189 | |
parent | b17658603b1813016bb025c134ad32475f999de2 (diff) | |
download | pygobject-64bc3928b2b4b7aad281fea52dff62a34d0dbb02.tar.gz pygobject-64bc3928b2b4b7aad281fea52dff62a34d0dbb02.tar.xz pygobject-64bc3928b2b4b7aad281fea52dff62a34d0dbb02.zip |
Do not use shade.verbatim, set the background color and border as a normal
* docs/xsl/html.xsl: Do not use shade.verbatim, set the background
color and border as a normal html tag to avoid an external
stylesheet.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | docs/xsl/html.xsl | 34 |
2 files changed, 13 insertions, 27 deletions
@@ -1,3 +1,9 @@ +2006-08-06 Johan Dahlin <johan@gnome.org> + + * docs/xsl/html.xsl: Do not use shade.verbatim, set the background + color and border as a normal html tag to avoid an external + stylesheet. + 2006-08-04 Johan Dahlin <jdahlin@async.com.br> * configure.ac: Post release version bump diff --git a/docs/xsl/html.xsl b/docs/xsl/html.xsl index 3bb5638..98b165c 100644 --- a/docs/xsl/html.xsl +++ b/docs/xsl/html.xsl @@ -7,17 +7,10 @@ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> -<xsl:param name="shade.verbatim" select="1"/> <xsl:param name="use.id.as.filename" select="1"/> <xsl:param name="chunk.fast" select="1"/> <xsl:param name="chunker.output.encoding" select="'utf-8'"/> -<xsl:attribute-set name="shade.verbatim.style"> - <xsl:attribute name="border">0</xsl:attribute> - <xsl:attribute name="bgcolor">#E0E0E0</xsl:attribute> - <xsl:attribute name="width">100%</xsl:attribute> -</xsl:attribute-set> - <xsl:param name="linenumbering.extension" select="1"/> <xsl:param name="variablelist.as.table" select="1"/> @@ -50,26 +43,13 @@ </table> </xsl:when> <xsl:when test="@role = 'properties' or @role = 'prototypes'"> - <xsl:choose> - <xsl:when test="$shade.verbatim != 0"> - <table width="100%" xsl:use-attribute-sets="shade.verbatim.style"> - <tr> - <td valign="top"> - <xsl:apply-templates select="child::*[local-name(.)!='attribution']"/> - </td> - </tr> - </table> - </xsl:when> - <xsl:otherwise> - <table width="100%" border="0"> - <tr> - <td valign="top"> - <xsl:apply-templates select="child::*[local-name(.)!='attribution']"/> - </td> - </tr> - </table> - </xsl:otherwise> - </xsl:choose> + <table width="100%" border="0" bgcolor="#E0E0E0"> + <tr> + <td valign="top"> + <xsl:apply-templates select="child::*[local-name(.)!='attribution']"/> + </td> + </tr> + </table> </xsl:when> <xsl:otherwise> <blockquote class="{local-name(.)}"> |