mirror of
https://github.com/systemd/systemd
synced 2024-07-22 18:55:10 +00:00
![Zbigniew Jędrzejewski-Szmek](/assets/img/avatar_default.png)
Since the HTML files are in different directories during build and on fd.o, links are broken in the build directory. This could be fixed by moving stuff around, or by modifying the files during upload, but I think that people do not usually create HTML files for local browsing, and this is not necessary.
75 lines
2.2 KiB
XML
75 lines
2.2 KiB
XML
<?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
|
|
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
|
|
(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
|
|
Lesser General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Lesser General Public License
|
|
along with systemd; If not, see <http://www.gnu.org/licenses/>.
|
|
-->
|
|
|
|
<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"/>
|
|
|
|
<!-- 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>
|
|
|
|
<!-- add Index link at top of page -->
|
|
<xsl:template name="user.header.content">
|
|
<a>
|
|
<xsl:attribute name="href">
|
|
<xsl:text>index.html</xsl:text>
|
|
</xsl:attribute>
|
|
<xsl:text>Index </xsl:text>
|
|
</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>
|
|
</a>
|
|
<hr/>
|
|
</xsl:template>
|
|
|
|
<!-- Switch things to UTF-8, ISO-8859-1 is soo yesteryear -->
|
|
<xsl:output method="html" encoding="UTF-8" indent="no"/>
|
|
|
|
</xsl:stylesheet>
|