Make it so that the difference between the HTML and PDF versions of the docs are...
[exim-website.git] / templates / web / docs.xsl
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
4         
5         <!-- WRAPPER -->
6                 <xsl:import href="../wrapper.xsl"/>
7                 <xsl:template match="/"> <xsl:apply-imports/> </xsl:template>
8                 
9                 <xsl:variable name="docroot" select="'.'"/>
10
11         <!-- Title -->
12                 <xsl:variable name="html.head.title" select="'Documentation for Exim'"/>
13
14         <!-- Canonical -->
15                 <xsl:variable name="html.head.append">
16                         <link rel="canonical" href="http://www.exim.org/docs.html"/>
17                 </xsl:variable>
18
19         <!-- CONTENT -->
20                 <xsl:template name="content">
21
22                         <!-- Title -->
23                                 <h2>
24                                         <xsl:value-of select="$html.head.title"/>
25                                 </h2>
26
27                         <!-- General Doc Info -->
28                                 <p>Exim has a set of documentation released with it. A text file of the main documentation is released as part of the Exim tar archive. Additionally, postscript and texinfo forms of the documentation are available in separate tar archives on the ftp sites. There is also a <a href="http://www.uit.co.uk/exim-book/">book</a>.</p>
29
30                                 <p>New user documentation can be found at the <a href="http://www.exim-new-users.co.uk/">Exim New Users site</a></p>
31
32                                 <p>User supported documentation, FAQs and hints can be found in the <a href="http://wiki.exim.org/">wiki</a>.</p>
33
34                                 <p>There are 3 main sets of documentation for Exim, all of which are also available below in html form.</p>
35
36                                 <p>The main user and configuration manual is the specification document</p>
37
38                                 <p class="manual_info">
39                                         <a href="{$docroot}/exim-html-current/doc/html/spec_html/index.html">
40                                                 <xsl:text>The Exim Specification - Version </xsl:text>
41                                                 <xsl:value-of select="/content/current_version"/>
42                                                 <xsl:text> (HTML)</xsl:text>
43                                         </a>
44                                         <xsl:text> </xsl:text>
45                                         <a href="{$docroot}/exim-pdf-current/doc/spec.pdf">(PDF)</a>
46
47                                         <xsl:text> - The master documentation for Exim containing all required detail to install, configure and use Exim. </xsl:text>
48                                         <span class="changed">Changes to the documentation (normally reflecting changes to the functionality of Exim) are shown on a green background like this segment.</span>
49                                 </p>
50
51                                 <p class="manual_info">
52                                         <a href="{$docroot}/exim-html-current/doc/html/spec_html/filter.html">
53                                                 <xsl:text>The Exim Filter Specification - Version </xsl:text>
54                                                 <xsl:value-of select="/content/current_version"/>
55                                                 <xsl:text> (HTML)</xsl:text>
56                                         </a>
57                                         <xsl:text> </xsl:text>
58                                         <a href="{$docroot}/exim-pdf-current/doc/filter.pdf">(PDF)</a>
59                                         <xsl:text> - Additional information on the Exim filter language.</xsl:text>
60                                 </p>
61
62                         <!-- HOWTOs -->
63                                 <h3>HOWTO Documentation</h3>
64                                 <ul id="howto_list">
65                                         <li>
66                                                 <a href="{$docroot}/howto/rbl.html">Using DNS Block Lists</a>
67                                         </li>
68                                         <li>
69                                                 <a href="{$docroot}/howto/mailman21.html">Using mailman 2.1 lists with Exim4</a>
70                                         </li>
71                                 </ul>
72
73                         <!-- FAQS -->
74                                 <h3>Frequently Asked Questions - FAQ</h3>
75                                 <p>
76                                         <xsl:text>The wikified </xsl:text>
77                                         <a href="http://wiki.exim.org/FAQ">FAQ for Exim 4</a>
78                                         <xsl:text> can be found </xsl:text>
79                                         <a href="http://wiki.exim.org/FAQ">here</a>
80                                         <xsl:text>. The FAQ for the obsolete Exim 3 releases can be found on the </xsl:text>
81                                         <a href="{$docroot}/ftp/exim3/">FTP site</a>
82                                         <xsl:text> - see the </xsl:text>
83                                         <a href="{$docroot}/mirrors.html">download</a>
84                                         <xsl:text> pages.</xsl:text>
85                                 </p>    
86
87                         <!-- Copies -->
88                                 <h3>Copies of Documentation</h3>
89                                 <p>Copies of the main Exim documentation in HTML format as used on this site in a compressed tar file are available from the main ftp site and mirrors (see file exim-html-*).</p>
90
91                 </xsl:template>
92
93 </xsl:stylesheet>