2010-04-01 03:45:16 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
|
2010-12-19 22:22:49 -05:00
|
|
|
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
2010-04-01 03:45:16 -04:00
|
|
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
|
|
|
<head>
|
2010-12-19 22:22:49 -05:00
|
|
|
<meta content="text/html; charset=<%= @options.charset %>" http-equiv="Content-Type" />
|
2010-04-01 03:45:16 -04:00
|
|
|
|
2010-12-19 22:22:49 -05:00
|
|
|
<title><%= h @options.title %></title>
|
2010-04-01 03:45:16 -04:00
|
|
|
|
2010-12-19 22:22:49 -05:00
|
|
|
<link type="text/css" media="screen" href="rdoc.css" rel="stylesheet" />
|
2010-04-01 03:45:16 -04:00
|
|
|
|
2010-12-19 22:22:49 -05:00
|
|
|
<script src="js/jquery.js" type="text/javascript" charset="utf-8"></script>
|
|
|
|
<script src="js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
|
|
|
|
<script src="js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
|
|
|
|
<script src="js/darkfish.js" type="text/javascript" charset="utf-8"></script>
|
2010-04-01 03:45:16 -04:00
|
|
|
|
|
|
|
</head>
|
|
|
|
<body class="indexpage">
|
|
|
|
|
2010-12-19 22:22:49 -05:00
|
|
|
<% $stderr.sync = true %>
|
|
|
|
<h1><%= h @options.title %></h1>
|
2010-04-01 03:45:16 -04:00
|
|
|
|
2010-12-19 22:22:49 -05:00
|
|
|
<% if @options.main_page && main_page = @files.find { |f| f.full_name == @options.main_page } then %>
|
|
|
|
<div id="main">
|
|
|
|
<%= main_page.description.sub(%r{^\s*<h1.*?/h1>}i, '') %>
|
|
|
|
</div>
|
|
|
|
<% else %>
|
|
|
|
<p>This is the API documentation for '<%= @options.title %>'.</p>
|
|
|
|
<% end %>
|
2010-04-01 03:45:16 -04:00
|
|
|
|
2010-12-19 22:22:49 -05:00
|
|
|
<% simple_files = @files.select {|tl| tl.parser == RDoc::Parser::Simple } %>
|
|
|
|
<% unless simple_files.empty? then %>
|
|
|
|
<h2>Files</h2>
|
|
|
|
<ul>
|
|
|
|
<% simple_files.sort.each do |file| %>
|
|
|
|
<li class="file"><a href="<%= file.path %>"><%= h file.base_name %></a></li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
<% end %>
|
2010-04-01 03:45:16 -04:00
|
|
|
|
2010-12-19 22:22:49 -05:00
|
|
|
<h2 id="classes">Classes/Modules</h2>
|
|
|
|
<ul>
|
|
|
|
<% @modsort.each do |klass| %>
|
|
|
|
<li class="<%= klass.type %>"><a href="<%= klass.path %>"><%= klass.full_name %></a></li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
2010-04-01 03:45:16 -04:00
|
|
|
|
2010-12-19 22:22:49 -05:00
|
|
|
<h2 id="methods">Methods</h2>
|
|
|
|
<ul>
|
|
|
|
<% RDoc::TopLevel.all_classes_and_modules.map do |mod|
|
|
|
|
mod.method_list
|
|
|
|
end.flatten.sort.each do |method| %>
|
|
|
|
<li><a href="<%= method.path %>"><%= method.pretty_name %> — <%= method.parent.full_name %></a></li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
2010-04-01 03:45:16 -04:00
|
|
|
|
2010-12-19 22:22:49 -05:00
|
|
|
<div id="validator-badges">
|
|
|
|
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
|
|
|
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
|
|
|
Rdoc Generator</a> <%= RDoc::Generator::Darkfish::VERSION %></small>.</p>
|
|
|
|
</div>
|
2010-04-01 03:45:16 -04:00
|
|
|
</body>
|
|
|
|
</html>
|