1 require 'rdoc/generator/html'
3 module RDoc::Generator::HTML::ONE_PAGE_HTML
6 <% if defined? classes and classes["description"] then %>
7 <%= classes["description"] %>
10 <% if defined? files and files["requires"] then %>
13 <% files["requires"].each do |requires| %>
14 <% if requires["aref"] then %>
15 <li><a href="<%= requires["aref"] %>"><%= requires["name"] %></a></li>
17 <% unless requires["aref"] then %>
18 <li><%= requires["name"] %></li>
20 <% end %><%# files["requires"] %>
24 <% if defined? classes and classes["includes"] then %>
27 <% classes["includes"].each do |includes| %>
28 <% if includes["aref"] then %>
29 <li><a href="<%= includes["aref"] %>"><%= includes["name"] %></a></li>
31 <% unless includes["aref"] then %>
32 <li><%= includes["name"] %></li>
34 <% end %><%# classes["includes"] %>
38 <% if defined? classes and classes["sections"] then %>
39 <% classes["sections"].each do |sections| %>
40 <% if sections["attributes"] then %>
43 <% sections["attributes"].each do |attributes| %>
44 <tr><td><%= attributes["name"] %></td><td><%= attributes["rw"] %></td><td><%= attributes["a_desc"] %></td></tr>
45 <% end %><%# sections["attributes"] %>
49 <% if sections["method_list"] then %>
51 <% sections["method_list"].each do |method_list| %>
52 <% if method_list["methods"] then %>
53 <% method_list["methods"].each do |methods| %>
54 <h4><%= methods["type"] %> <%= methods["category"] %> method:
55 <% if methods["callseq"] then %>
56 <a name="<%= methods["aref"] %>"><%= methods["callseq"] %></a>
58 <% unless methods["callseq"] then %>
59 <a name="<%= methods["aref"] %>"><%= methods["name"] %><%= methods["params"] %></a></h4>
62 <% if methods["m_desc"] then %>
63 <%= methods["m_desc"] %>
66 <% if methods["sourcecode"] then %>
68 <%= methods["sourcecode"] %>
71 <% end %><%# method_list["methods"] %>
73 <% end %><%# sections["method_list"] %>
75 <% end %><%# classes["sections"] %>
80 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
83 <title><%= values["title"] %></title>
84 <meta http-equiv="Content-Type" content="text/html; charset=<%= values["charset"] %>" />
87 <% values["files"].each do |files| %>
88 <h2>File: <%= files["short_name"] %></h2>
90 <tr><td>Path:</td><td><%= files["full_path"] %></td></tr>
91 <tr><td>Modified:</td><td><%= files["dtm_modified"] %></td></tr>
94 <% end %><%# values["files"] %>
96 <% if values["classes"] then %>
98 <% values["classes"].each do |classes| %>
99 <% if classes["parent"] then %>
100 <h3><%= classes["classmod"] %> <%= classes["full_name"] %> < <%= href classes["par_url"], classes["parent"] %></h3>
102 <% unless classes["parent"] then %>
103 <h3><%= classes["classmod"] %> <%= classes["full_name"] %></h3>
106 <% if classes["infiles"] then %>
108 <% classes["infiles"].each do |infiles| %>
109 <%= href infiles["full_path_url"], infiles["full_path"] %>
110 <% end %><%# classes["infiles"] %>
113 } + CONTENTS_XML + %{
114 <% end %><%# values["classes"] %>