X7ROOT File Manager
Current Path:
/opt/alt/ruby21/lib64/ruby/2.1.0/rdoc/generator/template/darkfish
opt
/
alt
/
ruby21
/
lib64
/
ruby
/
2.1.0
/
rdoc
/
generator
/
template
/
darkfish
/
??
..
??
_footer.rhtml
(346 B)
??
_head.rhtml
(913 B)
??
_sidebar_VCS_info.rhtml
(438 B)
??
_sidebar_classes.rhtml
(269 B)
??
_sidebar_extends.rhtml
(440 B)
??
_sidebar_in_files.rhtml
(172 B)
??
_sidebar_includes.rhtml
(438 B)
??
_sidebar_installed.rhtml
(337 B)
??
_sidebar_methods.rhtml
(406 B)
??
_sidebar_navigation.rhtml
(441 B)
??
_sidebar_pages.rhtml
(326 B)
??
_sidebar_parent.rhtml
(369 B)
??
_sidebar_search.rhtml
(657 B)
??
_sidebar_sections.rhtml
(316 B)
??
_sidebar_table_of_contents.rhtml
(494 B)
??
class.rhtml
(5.42 KB)
??
fonts
??
fonts.css
(6.22 KB)
??
images
??
index.rhtml
(570 B)
??
js
??
page.rhtml
(431 B)
??
rdoc.css
(8.92 KB)
??
servlet_not_found.rhtml
(334 B)
??
servlet_root.rhtml
(1.73 KB)
??
table_of_contents.rhtml
(1.48 KB)
Editing: table_of_contents.rhtml
<body id="top" class="table-of-contents"> <main role="main"> <h1 class="class"><%= h @title %></h1> <% simple_files = @files.select { |f| f.text? } %> <% unless simple_files.empty? then %> <h2 id="pages">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 %> <ul> <% 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 and Modules</h2> <ul> <% @modsort.each do |klass| %> <li class="<%= klass.type %>"> <a href="<%= klass.path %>"><%= klass.full_name %></a> <% table = [] table.concat klass.parse(klass.comment_location).table_of_contents table.concat klass.section_contents unless table.empty? then %> <ul> <% 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> <% @store.all_classes_and_modules.map do |mod| mod.method_list end.flatten.sort.each do |method| %> <li class="method"> <a href="<%= method.path %>"><%= h method.pretty_name %></a> — <span class="container"><%= method.parent.full_name %></span> <% end %> </ul> </main>
Upload File
Create Folder