Lennart Poettering | 7631828 | 2011-12-19 20:25:52 +0100 | [diff] [blame] | 1 | <?xml version='1.0'?> <!--*-nxml-*--> |
| 2 | |
| 3 | <!-- |
| 4 | This file is part of systemd. |
| 5 | |
| 6 | Copyright 2011 Lennart Poettering |
| 7 | |
| 8 | systemd is free software; you can redistribute it and/or modify it |
Lennart Poettering | 5430f7f | 2012-04-12 00:20:58 +0200 | [diff] [blame] | 9 | under the terms of the GNU Lesser General Public License as published by |
| 10 | the Free Software Foundation; either version 2.1 of the License, or |
Lennart Poettering | 7631828 | 2011-12-19 20:25:52 +0100 | [diff] [blame] | 11 | (at your option) any later version. |
| 12 | |
| 13 | systemd is distributed in the hope that it will be useful, but |
| 14 | WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
Lennart Poettering | 5430f7f | 2012-04-12 00:20:58 +0200 | [diff] [blame] | 16 | Lesser General Public License for more details. |
Lennart Poettering | 7631828 | 2011-12-19 20:25:52 +0100 | [diff] [blame] | 17 | |
Lennart Poettering | 5430f7f | 2012-04-12 00:20:58 +0200 | [diff] [blame] | 18 | You should have received a copy of the GNU Lesser General Public License |
Lennart Poettering | 7631828 | 2011-12-19 20:25:52 +0100 | [diff] [blame] | 19 | along with systemd; If not, see <http://www.gnu.org/licenses/>. |
| 20 | --> |
| 21 | |
| 22 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
| 23 | |
| 24 | <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/> |
| 25 | |
Kay Sievers | ecca17f | 2012-07-17 23:04:48 +0200 | [diff] [blame] | 26 | <!-- translate man page references to links to html pages --> |
| 27 | <xsl:template match="citerefentry"> |
| 28 | <a> |
| 29 | <xsl:attribute name="href"> |
| 30 | <xsl:value-of select="refentrytitle"/><xsl:text>.html</xsl:text> |
| 31 | </xsl:attribute> |
| 32 | <xsl:call-template name="inline.charseq"/> |
| 33 | </a> |
| 34 | </xsl:template> |
| 35 | |
| 36 | <!-- add Index link at top of page --> |
| 37 | <xsl:template name="user.header.content"> |
| 38 | <a> |
| 39 | <xsl:attribute name="href"> |
| 40 | <xsl:text>index.html</xsl:text> |
| 41 | </xsl:attribute> |
| 42 | <xsl:text>Index </xsl:text> |
| 43 | </a> |
| 44 | <hr/> |
| 45 | </xsl:template> |
| 46 | |
Lennart Poettering | 7631828 | 2011-12-19 20:25:52 +0100 | [diff] [blame] | 47 | <!-- Switch things to UTF-8, ISO-8859-1 is soo yesteryear --> |
| 48 | <xsl:output method="html" encoding="UTF-8" indent="no"/> |
| 49 | |
| 50 | </xsl:stylesheet> |