2011-12-19 23:25:52 +04:00
<?xml version='1.0'?> <!-- * - nxml - * -->
<!--
This file is part of systemd.
Copyright 2011 Lennart Poettering
systemd is free software; you can redistribute it and/or modify it
2012-04-12 02:20:58 +04:00
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
2011-12-19 23:25:52 +04:00
(at your option) any later version.
systemd is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2012-04-12 02:20:58 +04:00
Lesser General Public License for more details.
2011-12-19 23:25:52 +04:00
2012-04-12 02:20:58 +04:00
You should have received a copy of the GNU Lesser General Public License
2011-12-19 23:25:52 +04:00
along with systemd; If not, see <http: / / w w w . g n u . o r g / l i c e n s e s /> .
-->
<xsl:stylesheet xmlns:xsl= "http://www.w3.org/1999/XSL/Transform" version= "1.0" >
<xsl:import href= "http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl" />
2012-07-18 01:04:48 +04:00
<!-- translate man page references to links to html pages -->
<xsl:template match= "citerefentry" >
<a >
<xsl:attribute name= "href" >
<xsl:value-of select= "refentrytitle" /> <xsl:text > .html</xsl:text>
</xsl:attribute>
<xsl:call-template name= "inline.charseq" />
</a>
</xsl:template>
2013-05-04 04:25:57 +04:00
<xsl:template match= "refsect1/title|refsect1/info/title" >
<!-- the ID is output in the block.object call for refsect1 -->
<h2 >
<xsl:attribute name= "id" >
<xsl:call-template name= "inline.charseq" />
</xsl:attribute>
<xsl:apply-templates />
<a >
<xsl:attribute name= "class" >
<xsl:text > headerlink</xsl:text>
</xsl:attribute>
<xsl:attribute name= "title" >
<xsl:text > Permalink to this headline</xsl:text>
</xsl:attribute>
<xsl:attribute name= "href" >
<xsl:text > #</xsl:text>
<xsl:call-template name= "inline.charseq" />
</xsl:attribute>
<xsl:text > ¶</xsl:text>
</a>
</h2>
</xsl:template>
2013-05-07 04:00:16 +04:00
<xsl:template match= "refsect2/title|refsect2/info/title" >
<h3 >
<xsl:attribute name= "id" >
<xsl:call-template name= "inline.charseq" />
</xsl:attribute>
<xsl:apply-templates />
<a >
<xsl:attribute name= "class" >
<xsl:text > headerlink</xsl:text>
</xsl:attribute>
<xsl:attribute name= "title" >
<xsl:text > Permalink to this headline</xsl:text>
</xsl:attribute>
<xsl:attribute name= "href" >
<xsl:text > #</xsl:text>
<xsl:call-template name= "inline.charseq" />
</xsl:attribute>
<xsl:text > ¶</xsl:text>
</a>
</h3>
</xsl:template>
2013-05-04 04:25:57 +04:00
<xsl:template match= "varlistentry" >
<dt >
<xsl:attribute name= "id" >
<xsl:call-template name= "inline.charseq" >
<xsl:with-param name= "content" >
<xsl:copy-of select= "term[position()=1]" />
</xsl:with-param>
</xsl:call-template>
</xsl:attribute>
<xsl:apply-templates select= "term" />
<a >
<xsl:attribute name= "class" >
<xsl:text > headerlink</xsl:text>
</xsl:attribute>
<xsl:attribute name= "title" >
<xsl:text > Permalink to this term</xsl:text>
</xsl:attribute>
<xsl:attribute name= "href" >
<!-- <xsl:call - template name="href.target.uri" /> -->
<xsl:text > #</xsl:text>
<xsl:call-template name= "inline.charseq" >
<xsl:with-param name= "content" >
<xsl:copy-of select= "term[position()=1]" />
</xsl:with-param>
</xsl:call-template>
</xsl:attribute>
<xsl:text > ¶</xsl:text>
</a>
</dt>
<dd >
<xsl:apply-templates select= "listitem" />
</dd>
</xsl:template>
2012-07-18 01:04:48 +04:00
<!-- add Index link at top of page -->
<xsl:template name= "user.header.content" >
2013-05-04 04:25:57 +04:00
<style >
a.headerlink {
color: #c60f0f;
font-size: 0.8em;
padding: 0 4px 0 4px;
text-decoration: none;
visibility: hidden;
}
a.headerlink:hover {
background-color: #c60f0f;
color: white;
}
h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink {
visibility: visible;
}
</style>
2012-07-18 01:04:48 +04:00
<a >
<xsl:attribute name= "href" >
<xsl:text > index.html</xsl:text>
</xsl:attribute>
<xsl:text > Index </xsl:text>
2013-03-07 22:13:44 +04:00
</a> ·
<a >
<xsl:attribute name= "href" >
<xsl:text > systemd.directives.html</xsl:text>
</xsl:attribute>
<xsl:text > Directives </xsl:text>
</a> ·
<a >
<xsl:attribute name= "href" >
<xsl:text > ../python-systemd/index.html</xsl:text>
</xsl:attribute>
<xsl:text > Python </xsl:text>
</a> ·
<a >
<xsl:attribute name= "href" >
<xsl:text > ../libudev/index.html</xsl:text>
</xsl:attribute>
<xsl:text > libudev </xsl:text>
</a> ·
<a >
<xsl:attribute name= "href" >
<xsl:text > ../libudev/index.html</xsl:text>
</xsl:attribute>
<xsl:text > gudev </xsl:text>
2012-07-18 01:04:48 +04:00
</a>
2013-03-13 07:57:09 +04:00
<span style= "float:right" >
<xsl:text > systemd </xsl:text>
<xsl:value-of select= "$systemd.version" />
</span>
2012-07-18 01:04:48 +04:00
<hr />
</xsl:template>
2013-06-26 16:03:53 +04:00
<xsl:template match= "literal" >
<xsl:text > "</xsl:text>
<xsl:call-template name= "inline.monoseq" />
<xsl:text > "</xsl:text>
</xsl:template>
2011-12-19 23:25:52 +04:00
<!-- Switch things to UTF - 8, ISO - 8859 - 1 is soo yesteryear -->
<xsl:output method= "html" encoding= "UTF-8" indent= "no" />
</xsl:stylesheet>