forked from ruby/rdoc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update darkfish theme, delete rorvswild theme folder
- Loading branch information
Showing
61 changed files
with
956 additions
and
2,736 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
<footer id="validator-badges" role="contentinfo"> | ||
<p><a href="https://validator.w3.org/check/referer">Validate</a> | ||
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> <%= RDoc::VERSION %>. | ||
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>. | ||
</footer> | ||
<footer role="contentinfo"> | ||
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> <%= RDoc::VERSION %>. <a href="https://validator.w3.org/check/referer">Validate</a>. | ||
<p><a href="http://rorvswild.com/theme">RoRvsWild theme</a> based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a>. | ||
</footer> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
24 changes: 12 additions & 12 deletions
24
lib/rdoc/generator/template/darkfish/_sidebar_extends.rhtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<%- unless klass.extends.empty? then %> | ||
<div id="extends-section" class="nav-section"> | ||
<h3>Extended With Modules</h3> | ||
<div class="nav-section"> | ||
<h3>Extended With Modules</h3> | ||
|
||
<ul class="link-list"> | ||
<%- klass.each_extend do |ext| -%> | ||
<%- unless String === ext.module then -%> | ||
<li><a class="extend" href="<%= klass.aref_to ext.module.path %>"><%= ext.module.full_name %></a> | ||
<%- else -%> | ||
<li><span class="extend"><%= ext.name %></span> | ||
<%- end -%> | ||
<%- end -%> | ||
</ul> | ||
</div> | ||
<ul class="link-list"> | ||
<%- klass.each_extend do |ext| -%> | ||
<%- unless String === ext.module then -%> | ||
<li><a class="extend" href="<%= klass.aref_to ext.module.path %>"><%= ext.module.full_name %></a> | ||
<%- else -%> | ||
<li><span class="extend"><%= ext.name %></span> | ||
<%- end -%> | ||
<%- end -%> | ||
</ul> | ||
</div> | ||
<%- end -%> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
<div id="file-list-section" class="nav-section"> | ||
<h3>Defined In</h3> | ||
|
||
<ul> | ||
<%- klass.in_files.each do |tl| -%> | ||
<li><%= h tl.relative_name %> | ||
<%- end -%> | ||
<%- klass.in_files.each do |tl| -%> | ||
<li><%= h tl.relative_name %> | ||
<%- end -%> | ||
</ul> | ||
</div> |
24 changes: 12 additions & 12 deletions
24
lib/rdoc/generator/template/darkfish/_sidebar_includes.rhtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<%- unless klass.includes.empty? then %> | ||
<div id="includes-section" class="nav-section"> | ||
<h3>Included Modules</h3> | ||
<div class="nav-section"> | ||
<h3>Included Modules</h3> | ||
|
||
<ul class="link-list"> | ||
<%- klass.each_include do |inc| -%> | ||
<%- unless String === inc.module then -%> | ||
<li><a class="include" href="<%= klass.aref_to inc.module.path %>"><%= inc.module.full_name %></a> | ||
<%- else -%> | ||
<li><span class="include"><%= inc.name %></span> | ||
<%- end -%> | ||
<%- end -%> | ||
</ul> | ||
</div> | ||
<ul class="link-list"> | ||
<%- klass.each_include do |inc| -%> | ||
<%- unless String === inc.module then -%> | ||
<li><a class="include" href="<%= klass.aref_to inc.module.path %>"><%= inc.module.full_name %></a> | ||
<%- else -%> | ||
<li><span class="include"><%= inc.name %></span> | ||
<%- end -%> | ||
<%- end -%> | ||
</ul> | ||
</div> | ||
<%- end -%> |
31 changes: 20 additions & 11 deletions
31
lib/rdoc/generator/template/darkfish/_sidebar_methods.rhtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,21 @@ | ||
<%- unless klass.method_list.empty? then %> | ||
<!-- Method Quickref --> | ||
<div id="method-list-section" class="nav-section"> | ||
<h3>Methods</h3> | ||
<% if (class_methods = klass.class_method_list.sort).any? %> | ||
<div class="nav-section"> | ||
<h3>Class Methods</h3> | ||
<ul class="link-list" role="directory"> | ||
<%- class_methods.each do |meth| -%> | ||
<li <%- if meth.calls_super %>class="calls-super" <%- end %>><a href="#<%= meth.aref %>"><%= h meth.name -%></a></li> | ||
<%- end -%> | ||
</ul> | ||
</div> | ||
<% end %> | ||
|
||
<ul class="link-list" role="directory"> | ||
<%- klass.each_method do |meth| -%> | ||
<li <%- if meth.calls_super %>class="calls-super" <%- end %>><a href="#<%= meth.aref %>"><%= meth.singleton ? '::' : '#' %><%= h meth.name -%></a> | ||
<%- end -%> | ||
</ul> | ||
</div> | ||
<%- end -%> | ||
<% if (instance_methods = klass.instance_methods.sort).any? %> | ||
<div class="nav-section"> | ||
<h3>Instance Methods</h3> | ||
<ul class="link-list" role="directory"> | ||
<%- instance_methods.each do |meth| -%> | ||
<li <%- if meth.calls_super %>class="calls-super" <%- end %>><a href="#<%= meth.aref %>"><%= h meth.name -%></a></li> | ||
<%- end -%> | ||
</ul> | ||
</div> | ||
<% end %> |
11 changes: 0 additions & 11 deletions
11
lib/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 39 additions & 9 deletions
48
lib/rdoc/generator/template/darkfish/_sidebar_parent.rhtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,41 @@ | ||
<%- if klass.type == 'class' then %> | ||
<div id="parent-class-section" class="nav-section"> | ||
<h3>Parent</h3> | ||
<%- if klass.type == 'class' && (ancestors = klass.super_classes).any? then -%> | ||
<div class="nav-section"> | ||
<h3>Ancestors</h3> | ||
<ul class="link-list" role="directory"> | ||
<%- ancestors.each_with_index do |ancestor, index| -%> | ||
<%- if ancestor.is_a?(String) -%> | ||
<li> | ||
<%- if index == 0 && ancestors.size > 1 -%> | ||
<details> | ||
<summary><%= ancestor -%></summary> | ||
<ul class="link-list" role="directory"> | ||
<%- else -%> | ||
<span><%= ancestor -%></span> | ||
<ul class="link-list" role="directory"> | ||
<%- end -%> | ||
<%- elsif ancestor.is_a?(RDoc::NormalClass) -%> | ||
<li> | ||
<%- if index == 0 && ancestors.size > 1 -%> | ||
<details> | ||
<summary><a href="<%= klass.aref_to ancestor.path -%>"><%= ancestor.full_name -%></a></summary> | ||
<ul class="link-list" role="directory"> | ||
<%- else -%> | ||
<a href="<%= klass.aref_to ancestor.path -%>"><%= ancestor.full_name -%></a> | ||
<ul class="link-list" role="directory"> | ||
<%- end -%> | ||
<%- end -%> | ||
<%- end -%> | ||
|
||
<%- if klass.superclass and not String === klass.superclass then -%> | ||
<p class="link"><a href="<%= klass.aref_to klass.superclass.path %>"><%= klass.superclass.full_name %></a> | ||
<%- else -%> | ||
<p class="link"><%= klass.superclass %> | ||
<%- end -%> | ||
</div> | ||
<%- ancestors.each_with_index do |ancestor, index| -%> | ||
<%- if index == 0 && ancestors.size > 1 -%> | ||
</ul> | ||
</details> | ||
</li> | ||
<%- else -%> | ||
</ul> | ||
</li> | ||
<%- end -%> | ||
<%- end -%> | ||
</ul> | ||
</div> | ||
<%- end -%> |
14 changes: 0 additions & 14 deletions
14
lib/rdoc/generator/template/darkfish/_sidebar_search.rhtml
This file was deleted.
Oops, something went wrong.
16 changes: 8 additions & 8 deletions
16
lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<%- unless klass.sections.length == 1 then %> | ||
<div id="sections-section" class="nav-section"> | ||
<h3>Sections</h3> | ||
<div class="nav-section"> | ||
<h3>Sections</h3> | ||
|
||
<ul class="link-list" role="directory"> | ||
<%- klass.sort_sections.each do |section| -%> | ||
<li><a href="#<%= section.aref %>"><%= h section.title %></a></li> | ||
<%- end -%> | ||
</ul> | ||
</div> | ||
<ul class="link-list" role="directory"> | ||
<%- klass.sort_sections.each do |section| -%> | ||
<li><a href="#<%= section.aref %>"><%= h section.title %></a></li> | ||
<%- end -%> | ||
</ul> | ||
</div> | ||
<%- end -%> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.