Skip to content

Commit

Permalink
fix nav layout
Browse files Browse the repository at this point in the history
  • Loading branch information
milmazz committed Jan 26, 2024
1 parent 014d258 commit 146388d
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions lib/ex_doc/formatter/epub/templates/nav_template.eex
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@
<%= nav_grouped_item_template config.extras %>

<%= unless Enum.empty?(nodes.modules) do %>
<li>
<ol>
<li><span>Modules</span>
<ol>
<%= nav_grouped_item_template nodes.modules %>
</ol>
</li>
</ol>
</li>
<li><span>Modules</span>
<ol>
<%= nav_grouped_item_template nodes.modules %>
</ol>
</li>
<% end %>
<%= nav_item_template "Mix Tasks", nodes.tasks %>
</ol>
Expand Down

0 comments on commit 146388d

Please sign in to comment.