File: summary_template.eex

package info (click to toggle)
elixir-ex-doc 0.35.1%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,784 kB
  • sloc: javascript: 2,848; makefile: 15; xml: 12; sh: 5
file content (18 lines) | stat: -rw-r--r-- 634 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<div class="summary-<%= text_to_id(name) %> summary">
  <h2>
    <a href="#<%= text_to_id(name) %>"><%= name %></a>
  </h2>
  <%= for node <- nodes do %>
    <div class="summary-row">
      <div class="summary-signature">
        <a href="#<%=enc node.id %>" data-no-tooltip translate="no"><%=h node.signature %></a>
        <%= if deprecated = node.deprecated do %>
          <span class="deprecated" title="<%= h(deprecated) %>">deprecated</span>
        <% end %>
      </div>
      <%= if doc = node.rendered_doc do %>
        <div class="summary-synopsis"><%= synopsis(doc) %></div>
      <% end %>
    </div>
  <% end %>
</div>