Skip to content

Commit

Permalink
[DOC] Fix duplicate entries
Browse files Browse the repository at this point in the history
A tentative workaround for duplicate entries in "Class and Module
Index".
  • Loading branch information
nobu committed Dec 25, 2024
1 parent 51d3f64 commit f72b94b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
solo = top.one? {|klass| klass.display?}
traverse = proc do |klasses| -%>
<ul class="link-list">
<%- klasses.uniq!(&:full_name) -%>
<%- klasses.each do |index_klass| -%>
<%- if children = all_classes[index_klass.full_name] -%>
<li><details<% if solo; solo = false %> open<% end %>><summary><% link.call(index_klass) %></summary>
Expand Down

0 comments on commit f72b94b

Please sign in to comment.