root/trunk/src/templates/idldocfile.tt @ 642

Revision 642, 1.6 KB (checked in by mgalloy, 3 years ago)

Handling headings in rst markup style. Cleaning up rst generation a bit.

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
4<!-- Generated by IDLdoc [% idldoc_version %] on [% date %] -->
5
6<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7  <head>
8    <meta http-equiv="Content-Type" content="text/html;charset=[% charset %]"/>
9    <title>[% basename %] ([% title %])</title>
10
11    [% IF embed %]
12    <style type="text/css" media="all">
13      [% INCLUDE css_location %]
14    </style>
15    <style type="text/css" media="print">
16      [% INCLUDE print_css_location %]
17    </style>
18    [% ELSE %]
19    <link rel="stylesheet" type="text/css" media="all"
20          href="[% relative_root %]idldoc-resources/main.css" />
21    <link rel="stylesheet" type="text/css" media="print"
22          href="[% relative_root %]idldoc-resources/main-print.css" />
23    [% END %]
24   
25    <script type="text/javascript">
26      function setTitle() {
27        parent.document.title="[% basename %] ([% title %])";
28      }
29    </script>
30  </head>
31   
32  <body onload="setTitle();" id="root">
33
34    [% INCLUDE_TEMPLATE idldoc_header_location %]
35
36    <div class="content">
37      <h2 class="directory">[% location %]</h2>
38      <h1 class="basename">[% basename %]</h1>
39     
40      [% IF has_comments %]
41      <div id="file_comments">
42        <div class="[% IF preformat %]pre[% END %]">
43          [% comments %]
44        </div>
45      </div>
46      [% END %]
47         
48      [% IF footer ne '' %][% INCLUDE_TEMPLATE footer %][% END %]
49    </div>
50    [% INCLUDE_TEMPLATE idldoc_footer_location %]   
51  </body>
52</html>   
Note: See TracBrowser for help on using the browser.