File tree Expand file tree Collapse file tree
lib/rdoc/generator/template/aliki Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 < input id ="search-field " role ="combobox " aria-label ="Search "
1010 aria-autocomplete ="list " aria-controls ="search-results "
1111 type ="text " name ="search " placeholder ="Search (/) for a class, method... "
12- spellcheck ="false " title ="Type to search, Up and Down to navigate, Enter to load ">
12+ spellcheck ="false " autocomplete ="off "
13+ title ="Type to search, Up and Down to navigate, Enter to load ">
1314 < ul id ="search-results " aria-label ="Search Results "
1415 aria-busy ="false " aria-expanded ="false "
1516 aria-atomic ="false " class ="initially-hidden "> </ ul >
Original file line number Diff line number Diff line change 33 <%- dir = current.full_name[%r{\A[^/]+(?=/)}] || current.page_name %>
44<%- end %>
55<%- unless simple_files.empty? then %>
6- <div id ="fileindex-section " class ="nav-section ">
7- < h3 > Pages</ h3 >
6+ <div id ="fileindex-section " class ="nav-section ">
7+ < h3 > Pages</ h3 >
88
9- < ul class ="link-list ">
10- <%- simple_files . group_by do |f | %>
11- <%- f . full_name [ %r{\A [^/]+(?=/)} ] || f . page_name %>
12- <%- end . each do |n , files | %>
13- <%- f = files . shift %>
14- <%- if files . empty? %>
15- < li > < a href ="<%= rel_prefix %> / <%= h f . path %> "> <%= h f . page_name %> </ a > </ li >
16- <%- next %>
9+ < ul class ="link-list ">
10+ <%- grouped_files = simple_files . group_by { |f | f . full_name [ %r{\A [^/]+(?=/)} ] || f . page_name } %>
11+ <%- grouped_files . each do |n , files | %>
12+ <%- f = files . shift %>
13+ <%- if files . empty? %>
14+ < li > < a href ="<%= rel_prefix %> / <%= h f . path %> "> <%= h f . page_name %> </ a > </ li >
15+ <%- next %>
16+ <%- end %>
17+ < li >
18+ < details <%= dir == n ? ' open' : '' %> >
19+ < summary >
20+ <% if n == f . page_name %>
21+ < a href ="<%= rel_prefix %> / <%= h f . path %> "> <%= h n %> </ a >
22+ <% else %>
23+ <%= h n %>
24+ <% files . unshift ( f ) %>
25+ <% end %>
26+ </ summary >
27+ < ul class ="link-list ">
28+ <%- files . each do |f | %>
29+ < li > < a href ="<%= rel_prefix %> / <%= h f . path %> "> <%= h f . page_name %> </ a > </ li >
30+ <%- end %>
31+ </ ul >
32+ </ details >
33+ </ li >
1734 <%- end %>
18- < li >
19- < details <%= dir == n ? ' open' : '' %> >
20- < summary >
21- <% if n == f . page_name %>
22- < a href ="<%= rel_prefix %> / <%= h f . path %> "> <%= h n %> </ a >
23- <% else %>
24- <%= h n %>
25- <% files . unshift ( f ) %>
26- <% end %>
27- </ summary >
28- < ul class ="link-list ">
29- <%- files . each do |f | %>
30- < li > < a href ="<%= rel_prefix %> / <%= h f . path %> "> <%= h f . page_name %> </ a > </ li >
31- <%- end %>
32- </ ul >
33- </ details >
34- </ li >
35- <%- end %>
36- </ ul >
37- </ div >
35+ </ ul >
36+ </ div >
3837<%- end %>
Original file line number Diff line number Diff line change 44 < input id ="search-field " role ="combobox " aria-label ="Search "
55 aria-autocomplete ="list " aria-controls ="search-results "
66 type ="text " name ="search " placeholder ="Search (/) for a class, method, ... " spellcheck ="false "
7+ autocomplete ="off "
78 title ="Type to search, Up and Down to navigate, Enter to load ">
89 </ div >
910
You can’t perform that action at this time.
0 commit comments