File tree Expand file tree Collapse file tree 13 files changed +36
-27
lines changed
lib/rdoc/generator/template/darkfish Expand file tree Collapse file tree 13 files changed +36
-27
lines changed Original file line number Diff line number Diff line change 11< footer id ="validator-badges " role ="contentinfo ">
2- < p > < a href ="https://validator.w3.org/check/referer "> Validate</ a >
3- < p > Generated by < a href ="https://ruby.github.io/rdoc/ "> RDoc</ a > <%= RDoc ::VERSION %> .
4- < p > Based on < a href ="http://deveiate.org/projects/Darkfish-RDoc/ "> Darkfish</ a > by < a href ="http://deveiate.org "> Michael Granger</ a > .
2+ < p > < a href ="https://validator.w3.org/check/referer "> Validate</ a > </ p >
3+ < p > Generated by < a href ="https://ruby.github.io/rdoc/ "> RDoc</ a > <%= RDoc ::VERSION %> .</ p >
4+ < p > Based on < a href ="http://deveiate.org/projects/Darkfish-RDoc/ "> Darkfish</ a > by < a href ="http://deveiate.org "> Michael Granger</ a > .</ p >
55</ footer >
Original file line number Diff line number Diff line change 33 < h3 > Extended With Modules</ h3 >
44
55 < ul class ="link-list ">
6- <%- klass . extends . each do |ext | -%>
6+ <%- klass . extends . each do |ext | -%>
77 <%- unless String === ext . module then -%>
8- < li > < a class ="extend " href ="<%= klass . aref_to ext . module . path %> "> <%= ext . module . full_name %> </ a >
8+ < li > < a class ="extend " href ="<%= klass . aref_to ext . module . path %> "> <%= ext . module . full_name %> </ a > </ li >
99 <%- else -%>
10- < li > < span class ="extend "> <%= ext . name %> </ span >
10+ < li > < span class ="extend "> <%= ext . name %> </ span > </ li >
1111 <%- end -%>
1212 <%- end -%>
1313 </ ul >
Original file line number Diff line number Diff line change 55 < ul class ="link-list ">
66 <%- klass . includes . each do |inc | -%>
77 <%- unless String === inc . module then -%>
8- < li > < a class ="include " href ="<%= klass . aref_to inc . module . path %> "> <%= inc . module . full_name %> </ a >
8+ < li > < a class ="include " href ="<%= klass . aref_to inc . module . path %> "> <%= inc . module . full_name %> </ a > </ li >
99 <%- else -%>
10- < li > < span class ="include "> <%= inc . name %> </ span >
10+ < li > < span class ="include "> <%= inc . name %> </ span > </ li >
1111 <%- end -%>
1212 <%- end -%>
1313 </ ul >
Original file line number Diff line number Diff line change 1010 <%- else -%>
1111 <%= h name %>
1212 <%- end -%>
13+ </ li >
1314 <%- end -%>
1415 </ ul >
1516</ div >
Original file line number Diff line number Diff line change 1212 <%- end . each do |n , files | -%>
1313 <%- f = files . shift -%>
1414 <%- if files . empty? -%>
15- < li > < a href ="<%= rel_prefix %> / <%= h f . path %> "> <%= h f . page_name %> </ a >
15+ < li > < a href ="<%= rel_prefix %> / <%= h f . path %> "> <%= h f . page_name %> </ a > </ li >
1616 <%- next -%>
1717 <%- end -%>
1818 < li > < details <% if dir == n %> open <% end %> > < summary > <%
2323 end %> </ summary >
2424 < ul class ="link-list ">
2525 <%- files . each do |f | -%>
26- < li > < a href ="<%= rel_prefix %> / <%= h f . path %> "> <%= h f . page_name %> </ a >
26+ < li > < a href ="<%= rel_prefix %> / <%= h f . path %> "> <%= h f . page_name %> </ a > </ li >
2727 <%- end -%>
28- </ ul > </ details >
28+ </ ul > </ details > </ li >
2929 <%- end -%>
3030 </ ul >
3131</ div >
Original file line number Diff line number Diff line change 1818 <%- while table . first && table . first . level >= level -%>
1919 <%- heading = table . shift -%>
2020 <%- if table . first . nil? || table . first . level <= heading . level -%>
21- < li > <% display_link . call heading -%>
21+ < li > <% display_link . call heading -%> </ li >
2222 <%- else -%>
2323 < li >
2424 < details open >
Original file line number Diff line number Diff line change 6767 </ header >
6868 < dl >
6969 <%- constants . each do |const | -%>
70- < dt id ="<%= const . name %> "> <%= const . name %>
70+ < dt id ="<%= const . name %> "> <%= const . name %> </ dt >
7171 <%- if const . comment then -%>
7272 < dd >
7373 <%- if const . mixin_from then -%>
7676 </ div >
7777 <%- end -%>
7878 <%= const . description . strip %>
79+ </ dd >
7980 <%- else -%>
80- < dd class ="missing-docs "> (Not documented)
81+ < dd class ="missing-docs "> (Not documented)</ dd >
8182 <%- end -%>
8283 <%- end -%>
8384 </ dl >
108109 <%- if attrib . comment then -%>
109110 <%= attrib . description . strip %>
110111 <%- else -%>
111- < p class ="missing-docs "> (Not documented)
112+ < p class ="missing-docs "> (Not documented)</ p >
112113 <%- end -%>
113114 </ div >
114115 </ div >
179180 <%- if method . comment then -%>
180181 <%= method . description . strip %>
181182 <%- else -%>
182- < p class ="missing-docs "> (Not documented)
183+ < p class ="missing-docs "> (Not documented)</ p >
183184 <%- end -%>
184185 <%- if method . calls_super then -%>
185186 < div class ="method-calls-super ">
219220 </ section >
220221<%- end -%>
221222</ main >
223+ </ body >
Original file line number Diff line number Diff line change 1818<%- if @main_page %>
1919 <%= @main_page . description %>
2020<%- else -%>
21- < p > This is the API documentation for <%= h @title %> .
21+ < p > This is the API documentation for <%= h @title %> .</ p >
2222<%- end -%>
2323</ main >
24+ </ body >
Original file line number Diff line number Diff line change 1616< main role ="main " aria-label ="Page <%= h file . full_name %> ">
1717<%= file . description %>
1818</ main >
19+ </ body >
Original file line number Diff line number Diff line change 1616< main role ="main ">
1717 < h1 > Not Found</ h1 >
1818
19- < p > <%= message %>
19+ < p > <%= message %> </ p >
2020</ main >
21+ </ body >
You can’t perform that action at this time.
0 commit comments