Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
layout.html 1.01 KiB
Newer Older
Deepak Khatri's avatar
Deepak Khatri committed
{% extends "!layout.html" %}
{% block document %}
  {% if pages_slug != "latest" %}
    <div class="wy-alert wy-alert-danger">
      The <a href="{{pages_url}}/latest">latest development version</a>
      of this page may be more current than this released {{ version }} version.
    </div>
  {% else %}
    <div class="wy-alert wy-alert-danger">
     This is the latest (main) BeagleBoard documentation.
     If you are looking for stable releases, use the
     drop-down menu on the bottom-left and select the desired version.
Deepak Khatri's avatar
Deepak Khatri committed
    </div>
  {% endif %}
  {{ super() }}
{% endblock %}
{% block menu %}
  {% include "versions.html" %}
  {{ super() }}
  {% if reference_links %}
  <div class="toctree-wrapper compound">
    <p class="caption"><span class="caption-text">Reference</span></p>
    <ul>
      {% for title, url in reference_links.items() %}
      <li class="toctree-l1">
        <a class="reference internal" href="{{ url }}">{{ title }}</a>
      </li>
      {% endfor %}
    </ul>
  </div>
  {% endif %}
{% endblock %}