Skip to content

Commit

Permalink
Fix sidebar pages
Browse files Browse the repository at this point in the history
  • Loading branch information
alexisbernard committed Sep 2, 2024
1 parent 17dce09 commit 8229ad2
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions lib/rdoc/generator/template/rorvswild/_sidebar_pages.rhtml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<%- simple_files = @files.select { |f| f.text? } %>

<!--
<%#- if defined?(current) -%>
<%#- dir = current.full_name[%r{\A[^/]+(?=/)}] || current.page_name -%>
<%#- end -%>
-->
<%- if defined?(current) && current.respond_to?(:page_name) -%>
<%- dir = current.full_name[%r{\A[^/]+(?=/)}] || current.page_name -%>
<%- end -%>

<%- unless simple_files.empty? then -%>
<div id="fileindex-section" class="nav-section">
Expand Down

0 comments on commit 8229ad2

Please sign in to comment.