Sha256: b0be45ebcc060385effaf9e415079fada3461e0cf81ad06616857f657025abef

Contents?: true

Size: 1.59 KB

Versions: 101

Compression:

Stored size: 1.59 KB

Contents

<body class="indexpage">
<h1><%= h @title %></h1>

<% simple_files = @files.select { |f| f.text? } %>
<% unless simple_files.empty? then %>
<h2>Pages</h2>
<ul>
<% simple_files.sort.each do |file| %>
  <li class="file">
    <a href="<%= file.path %>"><%= h file.page_name %></a>
<%
   # HACK table_of_contents should not exist on Document
   table = file.parse(file.comment).table_of_contents
   unless table.empty? then %>
    <img class="toc-toggle" src="images/transparent.png" alt="" title="toggle headings">
    <ul class="initially-hidden">
<% table.each do |heading| %>
      <li><a href="<%= file.path %>#<%= heading.aref %>"><%= heading.plain_html %></a>
<%   end %>
    </ul>
<% end %>
  </li>
  <% end %>
</ul>
<% end %>

<h2 id="classes">Classes/Modules</h2>
<ul>
<% @modsort.each do |klass| %>
  <li class="<%= klass.type %>">
    <a href="<%= klass.path %>"><%= klass.full_name %></a>
<% table = []
   table.push(*klass.parse(klass.comment).table_of_contents)
   table.push(*klass.section_contents)

   unless table.empty? then %>
    <img class="toc-toggle" src="images/transparent.png" alt="" title="toggle headings">
    <ul class="initially-hidden">
<% table.each do |item| %>
      <li><a href="<%= klass.path %>#<%= item.aref %>"><%= item.plain_html %></a>
<%   end %>
    </ul>
<% end %>
  </li>
  <% end %>
</ul>

<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 class="method"><a href="<%= method.path %>"><%= method.pretty_name %> &mdash; <%= method.parent.full_name %></a>
  <% end %>
</ul>

Version data entries

101 entries across 79 versions & 20 rubygems

Version Path
active_mailer-0.0.10 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rdoc-3.12.1/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
judge-2.0.5 vendor/bundle/ruby/2.1.0/gems/rdoc-3.12.2/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
active_mailer-0.0.9 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rdoc-3.12.1/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
active_mailer-0.0.8 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rdoc-3.12.1/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
active_mailer-0.0.7 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rdoc-3.12.1/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
active_mailer-0.0.6 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rdoc-3.12.1/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
font-awesome-rails-3.1.1.2 vendor/ruby/2.0.0/gems/rdoc-3.12.2/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
font-awesome-rails-3.1.1.2 vendor/ruby/1.9.1/gems/rdoc-3.12.2/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
font-awesome-rails-3.1.1.1 vendor/ruby/2.0.0/gems/rdoc-3.12.2/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
font-awesome-rails-3.1.1.1 vendor/ruby/1.9.1/gems/rdoc-3.12.2/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
challah-1.0.0.beta3 vendor/bundle/gems/rdoc-3.12.2/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
fc-webicons-0.0.4 vendor/bundle/ruby/1.9.1/gems/rdoc-3.12.2/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
challah-1.0.0.beta2 vendor/bundle/gems/rdoc-3.12.2/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
challah-1.0.0.beta vendor/bundle/gems/rdoc-3.12.2/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
challah-1.0.0.beta vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
fc-webicons-0.0.3 vendor/bundle/ruby/1.9.1/gems/rdoc-3.12.2/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
fc-webicons-0.0.2 vendor/bundle/ruby/1.9.1/gems/rdoc-3.12.2/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
fc-webicons-0.0.1 vendor/bundle/ruby/1.9.1/gems/rdoc-3.12.2/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
rdoc-3.12.2 lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
active_mailer-0.0.5 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rdoc-3.12.1/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml