chiark / gitweb /
core: Refuse to run a user instance when the system hasn't been booted with systemd.
[elogind.git] / man / custom-html.xsl
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
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
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
16   Lesser General Public License for more details.
17
18   You should have received a copy of the GNU Lesser General Public License
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
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
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>