<?xml version=“1.0” encoding=“UTF-8”?> <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.1//EN”

"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns=“www.w3.org/1999/xhtml” xml:lang=“en”> <head>

<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />

<title><%= h options.title %></title>

<link type="text/css" media="screen" href="<%= options.css %>" rel="stylesheet" />

<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>

</head> <body class=“indexpage”>

<% $stderr.sync = true %>
<h1><%= h options.title %></h1>

<% if options.main_page && files.key?( options.main_page ) %>
<div id="main">
        <%= files[ options.main_page ][:description].sub(%r{^\s*<h1.*?/h1>}i, '') %>
</div>
<% else %>
<p>This is the API documentation for '<%= options.title %>'.</p>
<% end %>

<% simple_files = files.select {|_, file| file[:parser] == RDoc::Parser::Simple } %>
<% unless simple_files.empty? then %>
<h2>Files</h2>
<ul>
        <% simple_files.sort_by {|name,_| name }.each do |name, file| %>
                <li class="file"><a href="<%= file[:short_name] %>.html"><%= h file[:short_name] %></a></li>
        <% end %>
</ul>
<% end %>

<h2>Classes/Modules</h2>
<ul>
        <% modsort.each do |classname| %>
        <% classdata = classes[classname] %>
        <li class="<%= classdata[:classmod].downcase %>"><a 
                href="<%= classdata[:full_name].gsub( /::/, '/' ) + '.html' %>"><%= classdata[:full_name] %></a></li>
        <% end %>
</ul>

<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>

</body> </html>