commit: 8c8aa2eb9275ebd2d1ca944f982646147665c0ee
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 24 19:35:09 2021 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Feb 24 19:35:09 2021 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=8c8aa2eb
devbook.xsl: Drop unused findParent template
This has been superseded by printParentDocs some time ago.
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
devbook.xsl | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/devbook.xsl b/devbook.xsl
index 5c81497..003f7ed 100644
--- a/devbook.xsl
+++ b/devbook.xsl
@@ -822,17 +822,6 @@
</xsl:choose>
</xsl:template>
- <xsl:template name="findParent">
- <xsl:choose>
- <xsl:when test="not(/guide/@root)">
- <a href="../index.html">↑ <xsl:value-of
select="document(concat(/guide/@self, '../text.xml'))/guide/chapter[1]/title"/>
↑</a>
- </xsl:when>
- <xsl:otherwise>
- <a href="#">↑ <xsl:value-of select="/guide/chapter[1]/title"/>
↑</a>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
<xsl:template match="author">
<dt><xsl:value-of select="@name"/><xsl:if test="@email != ''"> <<a
href="mailto:{@email}"><xsl:value-of select="@email"/></a>></xsl:if></dt>
<dd><xsl:apply-templates/></dd>