summaryrefslogtreecommitdiff
path: root/doc/templates/index.html
blob: efc38d4e8ec411eb9721c5e01f222f0c4d392913 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" "">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
 <head>
  <title>$spec.title &mdash v$spec.version</title>
  <link rel="stylesheet" href="style.css" type="text/css"/>
 </head>
 <body>
  <div class="header">
   <h1>$spec.title</h1>
   <a href="#interfaces">Interfaces</a>
   (<a href="interfaces.html">Compact</a>)
   | <a href="generic-types.html">Generic Types</a>
   | <a href="errors.html">Errors</a>
   | <a href="fullindex.html">Full Index</a>
  </div>

  <div class="main">
  <h3 class="version">Version $spec.version</h3>
  <p class="copyrights">
   #echo '<br/>'.join($spec.copyrights)
  </p>
  $spec.license

  <a name="interfaces"></a>
  <h3>Interfaces</h3>
  <ul>
  #def output($items)
   #for $item in $items
    #if $item.__class__.__name__ == 'Section'
     <li class="chapter">$item.short_name</li>
     $item.get_docstring()
     <ul>
      $output($item.items)
     </ul>
    #else
     #if $item.causes_havoc
      <li class="causes-havoc">
     #elif $item.deprecated
      <li class="deprecated">
     #else
      <li>
     #end if
      <a href="$item.get_url()">$item.name</a>
      #if $item.causes_havoc
       (unstable)
      #elif $item.deprecated
       (deprecated)
      #end if
     </li>
    #end if
   #end for
  #end def
  $output($spec.items)
  </ul>

  <a name="other"></a>
  <h3>Other</h3>
  <ul>
   <li><a href="generic-types.html">Generic Types</a></li>
   <li><a href="errors.html">Errors</a></li>
  </ul>

  </div>
 </body>
</html>