Current section

Files

Jump to
remedy_exdoc lib ex_doc formatter html templates extra_template.eex
Raw

lib/ex_doc/formatter/html/templates/extra_template.eex

<%= head_template(config, %{title: node.title, type: :extra}) %>
<%= sidebar_template(config, nodes_map) %>
<h1 id="content">
<%= node.title_content %>
<%= if node.source_url do %>
<a href="<%= node.source_url %>" title="View Source" class="view-source" rel="help">
<span class="icon-code" aria-hidden="true"></span>
<span class="sr-only">View Source</span>
</a>
<% end %>
</h1>
<%= if node.source_path && String.ends_with?(node.source_path, ".livemd") do %>
<div class="livebook-badge-container">
<a href="#" class="livebook-badge">
<img src="https://livebook.dev/badge/v1/blue.svg" alt="Run in Livebook" width="150" />
</a>
</div>
<% end %>
<%= link_headings(node.content) %>
<%= bottom_actions_template(refs) %>
<%= footer_template(config, node) %>