Skip to content

Commit

Permalink
Link to the API reference on every page
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Sep 12, 2020
1 parent 5936b36 commit f5f9300
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/ex_doc/formatter/html/templates/footer_template.eex
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
</span>
</p>
<p>
<%= if config.api_reference do %>
<a href="api-reference.html" title="API reference" class="line footer-button">API Reference</a>
<% end %>
<button class="line footer-button display-shortcuts-help">
Display keyboard shortcuts
</button>
Expand Down

0 comments on commit f5f9300

Please sign in to comment.