Sha256: 05b6d740892b780604e667dfb4af25e449d7afd53b044daddd5b4885cd910680

Contents?: true

Size: 1.41 KB

Versions: 3

Compression:

Stored size: 1.41 KB

Contents

---
layout: default
---
<div class="post">
  <header class="post-header">
      <h1 class='code'>{{ page.title | escape }}</h1>
  </header>

  <article class="post-content">
    {% include defined_in_header.html %}

    <br/>

    {{page.brief | markdownify}}

    <br/>

    {% include overloads.html %}

    {% for entity in page.entities %}
      {% case entity.kind %}
        {% when 'parameters'%}
          <h3>Parameters</h3>
          {% if entity.list %}
            <table class='parameter-table'>
            {% for item in entity.list %}
                <tr>
                  <td class='decl'>{{ item.name }}</td>
                  <td class='defn'>
                      {% if item.annotation %}
                      <span class='annotation'>({{item.annotation | join: ", "}})</span>
                      {% endif %}
                      {{ item.description | markdownify }}
                  </td>
                </tr>
            {% endfor %}
            </table>
          {% else %}
            <p>(none)</p>
          {% endif %}
        {% when 'result'%}
          <h3>Return value</h3>
          {% if entity.description %}
            {{ entity.description | markdownify }}
          {% else %}
            <p>(none)</p>
          {% endif %}
        {% else %}
      {% endcase %}
    {% endfor %}

    {{ content }}

    {% include external_examples.html name=page.example header="Example" %}
  </article>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jekyll-theme-adobe-hyde-1.0.0 _layouts/function.html
jekyll-theme-adobe-hyde-0.2.2 _layouts/function.html
jekyll-theme-adobe-hyde-0.2.1 _layouts/function.html