Sha256: 7afb1c987a137b01ae0839da28928d371698163269e8dcac3504abe8942543dd

Contents?: true

Size: 1.84 KB

Versions: 2

Compression:

Stored size: 1.84 KB

Contents

<div id="content">
    <% unless (desc = context.desc).empty? %>
    <div class="description"><%= desc %></div>
    <% end %>

    <% sections = context.sections.select { |section| section.name } %>
    <% unless sections.empty? %>
    <div class="sectiontitle">Contents</div>
    <ul>
        <% sections.each do |section| %>
        <li><a href="#"><%= h section.name %></a></li>
        <% end %>
    </ul>
    <% end %>

    <% 
        list = context.funcs
    %>
    <% unless list.empty? %>
    <div class="sectiontitle">Functions</div>
    <ul>
        <% list.sort{ |a, b| a.short_name <=> b.short_name }.each do |func| %>
        <li><a href="#<%= func.ref %>"><%= func.names.first %></a></li>
        <% end %>
    </ul>
    <% end %>

     <% sections.each do |section| %>
    <div class="sectiontitle"><%= h section.name %></div>
    <% unless (description = section.desc).empty? %>
    <div class="description">
        <%= description %>
    </div>
    <% end %>
    <% end %>
	<div class="sectiontitle">Exports</div>
		<% context.funcs.each do |func|
            %>
            <div class="method">
                <div class="title">
                    <a name="<%= func.ref %>"></a><b><%= func.names.join('<br/>') %></b>
                </div>

								<% unless func.types.empty? %>
                <div class="func_types">
									Types:
									<p>
                  <%= func.types %>
									</p>
                </div>
                <% end %>
                <% unless (description = func.desc).empty? %>
                <div class="description">
                  <%= description %>
                </div>
                <% end %>

            </div>
      <% end %>

			<center>
			<hr/>
			<small>Copyright &copy; 1991-2009
			  <a href="http://www.ericsson.com/technology/opensource/erlang">Ericsson AB</a><br/>
			</small>
			</center>
    
</div>

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
prepor-erlapi-0.1.9 lib/erlapi/templates/html/shtml/_context.rhtml
erlapi-0.1.9 lib/erlapi/templates/html/shtml/_context.rhtml