diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-09-25 19:25:13 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-09-25 19:25:13 +0000 |
commit | c681349e8fc63088af8a3a27921a3c870ea4a115 (patch) | |
tree | ed1391b6d7aaa889c3d7829b046d5352d45eeb37 /docs/docbook/xslt | |
parent | 6224cfec7b789471e2eaedc25764f2b8101b29c1 (diff) | |
download | samba-c681349e8fc63088af8a3a27921a3c870ea4a115.tar.gz samba-c681349e8fc63088af8a3a27921a3c870ea4a115.tar.bz2 samba-c681349e8fc63088af8a3a27921a3c870ea4a115.zip |
Add some updates necessary to build the 3.0 docs (forgot them last night).
(This used to be commit 72434db17a86a8c277ca989ac858cb54cbc815dc)
Diffstat (limited to 'docs/docbook/xslt')
-rw-r--r-- | docs/docbook/xslt/expand-sambadoc.xsl | 7 | ||||
-rw-r--r-- | docs/docbook/xslt/html-common.xsl | 34 | ||||
-rw-r--r-- | docs/docbook/xslt/html.xsl | 1 |
3 files changed, 42 insertions, 0 deletions
diff --git a/docs/docbook/xslt/expand-sambadoc.xsl b/docs/docbook/xslt/expand-sambadoc.xsl index 2749fdf3e9..098512ce1d 100644 --- a/docs/docbook/xslt/expand-sambadoc.xsl +++ b/docs/docbook/xslt/expand-sambadoc.xsl @@ -301,4 +301,11 @@ </xsl:template> +<xsl:template match="filterline"> + <xsl:element name="programlisting"> + <xsl:apply-templates/> + </xsl:element> +</xsl:template> + + </xsl:stylesheet> diff --git a/docs/docbook/xslt/html-common.xsl b/docs/docbook/xslt/html-common.xsl index dce900ef67..eeb7d5d6b4 100644 --- a/docs/docbook/xslt/html-common.xsl +++ b/docs/docbook/xslt/html-common.xsl @@ -3,6 +3,40 @@ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> + <xsl:template match="ulink"> + <xsl:element name="ulink"> + <xsl:attribute name="url"> + <xsl:value-of select="@url"/> + </xsl:attribute> + <xsl:choose> + <xsl:when test=". != ''"> + <xsl:value-of select="."/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="@url"/> + </xsl:otherwise> + </xsl:choose> + </xsl:element> +</xsl:template> + + + +<xsl:template match="link"> + <xsl:element name="link"> + <xsl:attribute name="linkend"> + <xsl:value-of select="@linkend"/> + </xsl:attribute> + <xsl:choose> + <xsl:when test=". != ''"> + <xsl:value-of select="."/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="@linkend"/> + </xsl:otherwise> + </xsl:choose> + </xsl:element> +</xsl:template> + <xsl:param name="base.dir" select="'../htmldocs/'"/> <xsl:param name="bridgehead.in.toc" select="1"/> <xsl:param name="citerefentry.link" select="'1'"/> diff --git a/docs/docbook/xslt/html.xsl b/docs/docbook/xslt/html.xsl index 8481a86d24..1a5fe1bc65 100644 --- a/docs/docbook/xslt/html.xsl +++ b/docs/docbook/xslt/html.xsl @@ -6,4 +6,5 @@ <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/> <xsl:import href="html-common.xsl"/> + </xsl:stylesheet> |