Changeset View
Changeset View
Standalone View
Standalone View
kde-chunk-online.xsl
Show All 38 Lines | |||||
39 | 39 | | |||
40 | <xsl:param name="chunker.output.encoding">UTF-8</xsl:param> | 40 | <xsl:param name="chunker.output.encoding">UTF-8</xsl:param> | ||
41 | <xsl:param name="use.id.as.filename">1</xsl:param> | 41 | <xsl:param name="use.id.as.filename">1</xsl:param> | ||
42 | <xsl:param name="generate.section.toc">0</xsl:param> | 42 | <xsl:param name="generate.section.toc">0</xsl:param> | ||
43 | <xsl:param name="generate.component.toc">0</xsl:param> | 43 | <xsl:param name="generate.component.toc">0</xsl:param> | ||
44 | <xsl:param name="use.extensions">0</xsl:param> | 44 | <xsl:param name="use.extensions">0</xsl:param> | ||
45 | <xsl:param name="admon.graphics">0</xsl:param> | 45 | <xsl:param name="admon.graphics">0</xsl:param> | ||
46 | <xsl:param name="kde.common">/HEAD/common/</xsl:param> | 46 | <xsl:param name="kde.common">/HEAD/common/</xsl:param> | ||
47 | <xsl:param name="html.stylesheet" select="concat($kde.common,'kde-default.css',' ',$kde.common,'kde-docs.css')"/> | 47 | <!--<xsl:param name="html.stylesheet" select="concat($kde.common,'kde-default.css',' ',$kde.common,'kde-docs.css')"/>--> | ||
48 | <xsl:param name="admon.graphics.path"><xsl:value-of select="kde.common"/></xsl:param> | 48 | <xsl:param name="admon.graphics.path"><xsl:value-of select="kde.common"/></xsl:param> | ||
49 | <xsl:param name="generate.legalnotice.link">1</xsl:param> | 49 | <xsl:param name="generate.legalnotice.link">1</xsl:param> | ||
50 | 50 | | |||
51 | 51 | | |||
52 | <xsl:template name="dbhtml-filename"> | 52 | <xsl:template name="dbhtml-filename"> | ||
53 | <xsl:choose> | 53 | <xsl:choose> | ||
54 | <xsl:when test=". != /*"> | 54 | <xsl:when test=". != /*"> | ||
55 | <xsl:value-of select="@id"/> | 55 | <xsl:value-of select="@id"/> | ||
56 | <xsl:value-of select="$html.ext"/> | 56 | <xsl:value-of select="$html.ext"/> | ||
57 | </xsl:when> | 57 | </xsl:when> | ||
58 | <xsl:otherwise> | 58 | <xsl:otherwise> | ||
59 | <xsl:text>index.html</xsl:text> | 59 | <xsl:text>index.html</xsl:text> | ||
60 | </xsl:otherwise> | 60 | </xsl:otherwise> | ||
61 | </xsl:choose> | 61 | </xsl:choose> | ||
62 | </xsl:template> | 62 | </xsl:template> | ||
63 | 63 | | |||
64 | <xsl:template name="dbhtml-dir"> | 64 | <xsl:template name="dbhtml-dir"> | ||
65 | </xsl:template> | 65 | </xsl:template> | ||
66 | 66 | | |||
67 | <xsl:template name="user.head.content"> | 67 | <xsl:template name="user.head.content"> | ||
68 | <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> | ||||
69 | <link rel="stylesheet" href="/build/doc.css" /> | ||||
68 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | 70 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | ||
69 | <meta name="GENERATOR" content="KDE XSL Stylesheet V{$KDE_VERSION} using libxslt"/> | 71 | <meta name="GENERATOR" content="KDE XSL Stylesheet V{$KDE_VERSION} using libxslt"/> | ||
70 | </xsl:template> | 72 | </xsl:template> | ||
71 | 73 | | |||
72 | <!-- try with olinks: it nearly works --><!-- | 74 | <!-- try with olinks: it nearly works --><!-- | ||
73 | <xsl:template match="olink"> | 75 | <xsl:template match="olink"> | ||
74 | <a> | 76 | <a> | ||
75 | <xsl:attribute name="href"> | 77 | <xsl:attribute name="href"> | ||
Show All 37 Lines |